2008年9月15日

尋找Linux某一檔案內容的字串

find /home/user  -type f  -exec grep -l test {} \; 
-type f 只搜尋檔案(不然會find一堆目錄來比對)