Terminal Commands 💻⚡
Source: Dev.to

I wasted 6 months using the mouse for EVERYTHING before learning this 💻
Right‑click to create a folder. Click, click, click to navigate. Menu bar for every single action. My workflow was painfully slow.
Then a senior dev told me: “Stop using your mouse. Learn the terminal.” I thought he was crazy. That intimidating black screen with green text? No way.
But I tried it for ONE week and my productivity doubled ⚡
📁 Navigation (Lightning Fast)
cd projects/myapp # Jump to any folder instantly
cd .. # Go up one level
cd ~ # Home in 2 characters
cd - # Back to previous directory
pwd # Where am I?
No more clicking through 7 nested folders. Just type and go.
⚙️ File Operations (No More Right‑Clicking)
touch index.js # Create file instantly
mkdir components # Create folder
mv old.js new.js # Rename in 1 line
cp config.js backup.js # Copy file
rm temp.js # Delete file
What took 5 mouse clicks now takes 1 command.
🔍 View & Search (Insanely Powerful)
ls # See all files
ls -la # See EVERYTHING with details
cat package.json # Read file instantly
grep "error" logs.txt # Find text in files
find . -name "*.js" # Find all JS files
Searching through files becomes instant.
⚡ Power Commands (Feel Like a Hacker)
clear # Clean screen
history # See past commands
Ctrl + C # Cancel anything
!! # Repeat last command
sudo !! # Repeat with admin rights
These shortcuts alone save hours weekly.
💡 Why Terminal > GUI
- Speed – Type faster than clicking through menus.
- Automation – Commands can be scripted.
- Power – Access to tools GUIs hide.
- Universal – Works on macOS, Linux, and servers.
- Professional – Every senior dev uses the terminal.
🚨 One WARNING
rm -rf folder/
This deletes permanently. No trash bin. No undo. I’ve seen people delete entire projects with this command. Always double‑check before running rm -rf.
🎯 My Learning Path
| Week | Focus |
|---|---|
| 1 | Navigation (cd, ls, pwd) |
| 2 | File operations (touch, mkdir, mv) |
| 3 | Search (grep, find) |
| 4 | Muscle memory for all commands |
After one month, I couldn’t imagine going back to clicking around with a mouse. The terminal isn’t intimidating—it’s a superpower you’re choosing not to use.
Windows users: Install Git Bash or WSL. These commands work there too.
Start with ONE command today. Use cd to navigate. Tomorrow add ls. Build the habit slowly. In 30 days you’ll wonder how you ever developed without the terminal.
What made you finally start using the terminal? Or are you still avoiding it? Drop your terminal journey below! 👇