編輯 .vimrc
set tabstop=4
set shiftwidth=4
set expandtab
設定縮排(tab)寬度為4個空白
搜尋此網誌
2012年5月20日 星期日
tree -a
好用的tree -a 指令
list contents of directories in a tree-like format.
-a All files are printed. By default tree does not print hidden files
(those beginning with a dot `.'). In no event does tree print the
file system constructs `.' (current directory) and `..' (previous
directory).
list contents of directories in a tree-like format.
-a All files are printed. By default tree does not print hidden files
(those beginning with a dot `.'). In no event does tree print the
file system constructs `.' (current directory) and `..' (previous
directory).
2012年5月16日 星期三
用cat指令新建檔案
用 cat 建立文件並且輸入內容,
使用指令:
cat > userdoc
就會建立建立文件userdoc
就會建立建立文件userdoc
然後輸入你的文件內容,
結束按ctrl + d 終止輸入,
訂閱:
文章 (Atom)