Perintah Dasar Linux untuk Developer
Cheat sheet perintah Linux yang paling sering dipakai saat develop, deploy, dan troubleshoot server.
#Linux#Tutorial#Tips
Navigasi & file
pwd
ls -lah
cd /var/www
cp -a src/ dest/
mv old new
rm -rf build/
find . -name "*.log"
Proses & resource
ps aux | grep php
htop
df -h
free -h
ss -tulpn
Permission
chown -R www-data:www-data storage
chmod -R 775 storage bootstrap/cache
Journal & log
journalctl -u nginx -f
tail -f /var/log/nginx/error.log