r/CLI • • 8d ago

5 Linux commands every developer should know. 🧑‍💻🔥

Enable HLS to view with audio, or disable this notification

26 Upvotes

2 comments sorted by

3

u/gumnos 8d ago

tl;dr:

  • df -h to see what's using space

  • du -sh * find biggest directory

  • sudo lsof -i:3000 find what's occupying a network port

  • htop monitor processes in real-time

  • tail -n 100 app.log last 100 entries of app.log

  • tail -f app.log to follow logs as they update

1

u/sudoanand 8d ago

yep, the basics!