2010年8月12日 星期四

wc命令應用

wc可以列出檔案的 行數 單字數 位元組大小

calvin@calvin-desktop:~/cbin$ wc /etc/passwd
  38   61 1859 /etc/passwd

參數
-l  :僅列出行;
-w  :僅列出多少字(英文單字);
-m  :多少字元;

沒有留言:

張貼留言