linux下統計一個文件關鍵字出現的個數,文件的行數

wc使用 man wc -c :統計字節數量 -n 統計char數量 -l 統計行數 -L 統計最長行的長度 -w 統計關鍵字數量   [email protected]:~/work$ cat 1.txt  123 123 123  2313 44141 313131 4141 123 123 1.例如統計1.txt文件行數wc -l [email protected]:~/work$ wc -
相關文章
相關標籤/搜索