當前位置:生活全書館 >

IT科技

> linux中統計某檔案行數

linux中統計某檔案行數

linux怎麼統計檔案行數?我們一起來了解一下吧。

1、開啟linux系統,在linux的桌面的空白處右擊。

linux中統計某檔案行數

2、在彈出的下拉選項裡,點選開啟終端。

linux中統計某檔案行數 第2張

3、統計install.log檔案的行數的命令:wc -l install.log 或者 cat install.log | wc -l。

linux中統計某檔案行數 第3張

  • 文章版權屬於文章作者所有,轉載請註明 https://shqsg.com/dianzi/1wrylk.html