ジョー

英國 [d??u] 米國 [d?o]

n.ジョー

Linuxのジョーコマンド 構(gòu)文

機能: joe コマンドはテキスト ファイルを編集するために使用されます。

構(gòu)文: 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ù)値インデント文字數(shù)>][-keymap<キー設(shè)定ファイル>][-lmargin<列數(shù)>][-rmargin<列數(shù)>][-tab<列數(shù)>][必要な編集ファイル]</p> ;。

Linuxのジョーコマンド 例

joe コマンドを使用してテキスト ファイルを編集します。たとえば、joe を使用して C 言語ソース コード main.c を編集し、次のコマンドを使用します。

joe main.c

jed と同様に、joe エディタの C 言語の構(gòu)文もカラーで表示されます。効果は次のとおりです:

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ū)的版本及版權(quán)信息