find و grep
پیدا کردن فایل و جستجو داخل محتوا.
find
Terminal
find . -name "*.log"
find /var/www -type f -name "config.php"
find . -type d -name "node_modules"
grep
Terminal
grep "error" app.log
grep -n "TODO" *.py # با شماره خط
grep -r "database_url" . # بازگشتی
grep -i "warning" app.log # بدون حساسیت به حروف
ترکیب
Terminal
find . -name "*.js" | head
ps aux | grep nginx