Linux joe指令


  翻譯結果:

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<行數>][-pg<行數>][-skiptop<行數>][-autoindent crlf linums overwrite rdonly wordwrap][ <行數>][-indentc<縮排字元>] [-istep<縮排字元數>][-keymap<按鍵設定檔>][-lmargin<欄數>][-rmargin<欄數>][-tab<欄數>][要編輯的文件]</p>。

Linux joe指令範例

利用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  
#上排从左至右分别为打开的文件名、光标所在行列数、现在时间、显示操作说明  
/*-*- 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编辑区的版本及版权信息

熱門推薦

首頁

影片

問答