1. 程式人生 > >Ubuntu學習 more less head tai which

Ubuntu學習 more less head tai which

ubuntu學習 動態 命令 ubuntu tail 開始 部分 less 其他

more : 查看文件內容 用的不多 less : 查看文件內容 用的不多 head : 輸出文件的開始的部分, 可以指定行數 , 默認顯示10行 head -n 5 file tail : 查看文件尾部的內容。默認顯示最後10行 tail file1 tail -n 5 file1 tail -f file1 # 動態監控文件 which # 查找其他命令的位置 which ls

Ubuntu學習 more less head tai which