數據選取 (head 取出前面幾行) (tail 取出後面幾行)

說明 有時候查看文件內容的時候,咱們只須要簡單的查看下文件內容,好比只須要查看前幾行或者後面幾行時,就可使用這兩個命令。web head 取出前面幾行 命令說明 [wenjie@localhost ~]$ head [-n number] 文件 參數: -n : 後面接數字,表明顯示幾行的意思。 命令舉例 [wenjie@localhost ~]$ head /etc/man.config # 默
相關文章
相關標籤/搜索