Linux joe command
Translation results:
Joe
UK [dʒəu] US [dʒo]
n.Joe
Linux joe commandsyntax
Function: joe command is used to edit text files.
Syntax: joe [-asis][-beep][-csmode][-dopadding][-exask][-force][-help][-keepup][-lightoff ][-arking][-mid][-nobackups][-nonotice][-nosta][-noxon][-orphan][-backpath<directory>][-columns<fields>][-lines< Number of lines>][-pg<Number of lines>][-skiptop<Number of lines>][-autoindent crlf linums overwrite rdonly wordwrap][ <Number of lines>][-indentc<Indent characters>] [-istep<number of indented characters>][-keymap<key configuration file>][-lmargin<number of columns>][-rmargin<number of columns>][-tab<number of columns>][required Edited file]</p>.
Linux joe commandexample
Use the joe command to edit text files. For example, use joe to edit the C language source code main.c and use the following command:
joe main.c
Similar to jed, the syntax of the C language in the joe editor is also displayed in color. The effect is as follows:
I A main.c (c) Row 1 Col 1 12:28 Ctrl-K H for help #上排从左至右分别为打开的文件名、光标所在行列数、现在时间、显示操作说明 /*-*- linux-c-*-*/ #编辑区 #include <linux/mm.h> #include <linux/sysctl.h> #include <linux/nsproxy.h> 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; } ** Joe's Own Editor v3.5 ** (utf-8) ** Copyright . 2006 ** #joe编辑区的版本及版权信息