各種文本工具、分析、統計文本
grep
正規表達式
擴充正規表達式
檔案檢視指令:
cat nl tac rev
檢視非文本指令(二進制):
hexdump od xxd
分頁檢視檔案内容:
more less
顯示文本前或後行内容:
head tail tailf
按列抽取文本cut和合并檔案paste
cut和paste
文本資料統計:wc
整理文本:sort
比較檔案:diff和patch
面試題:取出兩個不同目錄中相同的檔案清單:
各種文本工具、分析、統計文本
grep
正規表達式
擴充正規表達式
檔案檢視指令:
cat nl tac rev
檢視非文本指令(二進制):
hexdump od xxd
分頁檢視檔案内容:
more less
顯示文本前或後行内容:
head tail tailf
按列抽取文本cut和合并檔案paste
cut和paste
文本資料統計:wc
整理文本:sort
比較檔案:diff和patch
面試題:取出兩個不同目錄中相同的檔案清單: