Joe
UK [d??u] US [d?o]
n.Joe
Linux joe command syntax
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 command example
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 #上排從左至右分別為打開的文件名、光標所在行列數(shù)、現(xiàn)在時間、顯示操作說明 /*-*- linux-c-*-*/ #編輯區(qū) #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編輯區(qū)的版本及版權信息