يشغّل Linux 96.3% من أفضل مليون خادم. إتقان سطر أوامر Linux مهارة لا غنى عنها للمطور.
عمليات الملفات
find /var/www -name "*.php" -type f
grep -rn "DB_PASSWORD" --include="*.env" .
du -sh /var/www/*إدارة العمليات
lsof -i :8080
htop
nohup php artisan queue:work &
pkill -f "queue:work"الشبكات
curl -I https://example.com
dig example.com +short
rsync -avz ./project/ user@server:/var/www/project/معالجة النصوص
cat access.log | awk '{print $1}' | sort | uniq -c | sort -rn | head -10
sed -i 's/old_value/new_value/g' config.php
tail -f storage/logs/laravel.log | grep --color ERRORالأذونات
chmod -R 775 storage bootstrap/cache
chown -R www-data:www-data storage bootstrap/cache