2010年4月7日 星期三

grep 指令

-> 列出符合搜尋條件的總列數
# grep -c string file

-> 列出前n個符合搜尋條件的
# grep -m n string file

沒有留言: