grep 要用-H 強迫顯示檔案,-n顯示檔案的行號 find -L . -name "*.[ch]" -exec grep -Hn --color=auto "內文" {} \; 另一種方法--with-filename
確定! 回上一頁