Joe
英 [d??u]? ?美 [d?o]??
n.喬
Linux joe指令 語法
作用:joe指令用於編輯文字檔。
語法:joe [-asis][-beep][-csmode][-dopadding][-exask][-force][-help][-keepup][-lightoff ][-arking][-mid][-nobackups][-nonotice][-nosta][-noxon][-orphan][-backpath<目錄>][-columns<欄>][-lines<行數(shù)>][-pg<行數(shù)>][-skiptop<行數(shù)>][-autoindent crlf linums overwrite rdonly wordwrap][ <行數(shù)>][-indentc<縮排字元>] [-istep<縮排字元數(shù)>][-keymap<按鍵設(shè)定檔>][-lmargin<欄數(shù)>][-rmargin<欄數(shù)>][-tab<欄數(shù)>][要編輯的文件]</p>。
Linux joe指令 範(fàn)例
利用joe指令編輯文字檔。例如利用joe編輯C 語言原始碼main.c,使用以下指令:
joe main.c
與jed類似,joe編輯器中C語言的語法也以彩色的方式顯示。效果如下:
I A main.c (c) Row 1 Col 1 12:28 Ctrl-K H for help #上排從左至右分別為打開的文件名、光標(biāo)所在行列數(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ū)的版本及版權(quán)信息