Member-only story

Linux Command Tricks That Will Change Your Life as a Developer (Beginners) 🐧🚀

habtesoft
4 min readOct 27, 2024

--

Linux isn’t just an operating system — it’s a playground for developers. Once you harness the power of the terminal, you’ll wonder how you ever lived without these commands. Whether you’re deploying apps, troubleshooting code, or managing files, these Linux tricks will make your work faster, more efficient, and maybe even fun! 🎯

Not a Medium member? Read this article here

1. Navigating Like a Pro with cd Shortcuts 📁

Tired of typing long paths? Use these tricks to speed up navigation:

  • cd -: Switch to the last directory you visited.
  • cd ..: Move one level up in the directory.
  • cd ~/Documents: Directly access your home directory shortcuts.
  • pushd / popd: Save and return to directories like a stack.

Pro Tip: Use tab completion to auto-complete directory names. Saves time and typos!

2. Find Anything with grep and find 🔍

Quickly locate files or content within files:

  • grep -R "keyword" .: Search recursively within the current directory for a keyword.

--

--

habtesoft
habtesoft

Written by habtesoft

Passionate JavaScript developer with a focus on backend technologies. Always eager to connect and learn. Let’s talk, https://buymeacoffee.com/habtesoftat

Responses (1)