在linux下這指令很好用, find "路徑" -name "檔名" -exec grep -H "搜尋標的" {} \; 請參考以下網站看說明 http://falldog7.blogspot.tw/2008/01/linux.html