jed
abbr.joint engineering design joint engineering design
Linux jed command syntax
Function:jed command is used to edit text files.
Syntax:jed [-2n][-batch][-f
Linux jed command example
jed is mainly used to edit the source code of the program. When editing the source code, the syntax of the program will be displayed in color highlighting. For example, to use jed to edit a source code file in C language, you can use the following command:
jed main.c #用jed编辑器打开main.c 文件
The output result is as follows:
F10 key ==> File Edit Mode Search Buffers Windows System Help #编辑器菜单 /*-*- linux-c-*-*/ #编辑区 #include#include #include static struct list_head * net_ctl_header_lookup(struct ctl_table_root *root, struct nsproxy *namespaces) { return &namespaces->net_ns->sysctl_table_headers; } static struct ctl_table_root net_sysctl_root = { .lookup = net_ctl_header_lookup, }; static int sysctl_net_init(struct net *net) { INIT_LIST_HEAD(&net->sysctl_table_headers); return 0; } -----+(Jed 0.99.18U) Emacs: main.c (C) All 6:06pm----------------------------- #从左到右分别为jed版本编号、当前是模拟emacs编辑器、打开的文件名、现在的时间 loading /usr/share/jed/lib/modeinfo.slc