DEV Community

Cover image for 17 Practical Terminal Commands Every Developer Should Know
Subodh Shetty
Subodh Shetty

Posted on • Originally published at Medium

17 Practical Terminal Commands Every Developer Should Know

We all use the terminal every day-but most of us only scratch the surface with cd, ls, or git.

There are hidden gems that can:

  • Save you from retyping long commands
  • Fix typos instantly
  • Reuse arguments without copy-paste
  • Debug “port already in use” errors
  • Check what’s eating up disk space

In my latest write-up, I pulled together 17 practical terminal commands that every developer should know.Things like:

  • !! to rerun the last command
  • !$ to reuse the last argument
  • tee to see output and save it at the same time
  • lsof -i :8080 to see which process is using a port
  • cd - to jump back to your previous directory

👉 You can read the full article here:
Practical Terminal Commands Every Developer Should Know

Top comments (0)