經常使用Linux命令行技巧

結果以表格形式輸出 column -t 好比;linux mount | column -t 默認分隔符爲空格,若是輸出文件是以別的字符進行分割的呢,好比/etc/passwd中的冒號,那麼,咱們能夠經過-s參數來指定web cat /etc/passwd | column -t -s: 重複執行某個命令直至執行結果成功 while true 按內存使用大小列出進程信息 ps aux | sort
相關文章
相關標籤/搜索