【Linux】平常命令

查看日誌web tail -3000f nohup.log : 最後3000行日誌 cat nohup.log | head -n 1000 : 前1000行日誌 cat nohup.log | tail -n +3000 | head -n 1000 : 從第3000行開始,顯示1000行 cat nohup.out | grep -c "\n" : 統計日誌行數 清理緩存swift echo
相關文章
相關標籤/搜索