簡單做個範例: find /var/www/website -name “*.php” -exec grep -H “abc” {} \;. 就是在/var/www/website 資料夾中,搜尋所有副檔名是.php的檔案.
確定! 回上一頁