ديف أوبس والحوسبة السحابية

أوامر Linux التي يجب على كل مطور معرفتها

February 22, 2026 1 دقيقة قراءة 9 مشاهدة

يشغّل 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
شارك هذه المقالة:

مقالات ذات صلة

التعليقات (0)

يرجى تسجيل الدخول لترك تعليق. تسجيل الدخول

لا توجد تعليقات بعد. كن أول من يعلق!