Linux Terminal Habits for Better Productivity
After years of daily terminal use, these are the habits, shortcuts, and commands that save me the most time. After years of daily terminal use, I have settled on a small set of habits, shortcuts, and commands that save me the most time. None of them are exotic, but together they compound into hours saved every week. Here are the ones I rely on every day, with the examples I use to explain them to new teammates. Command Aliases Command aliases transform frequently used commands into short abbreviations. I alias git status, git commit, and ls -la on every machine I touch. The time savings are small per use but compound to hours over months of daily work. I keep my aliases in a single file that I source from my shell profile, so they travel with me between machines. # Useful aliases for ~/.bashrc or ~/.zshrc alias gs='git status' alias gc='git commit -m' alias ll='ls -la' alias.='cd.' alias. ='cd./.' alias ports='netstat -tulpn | grep LISTEN' # Reload after editing source ~/.bashrc I avoid aliasing over real commands with destructive behavior. An alias like alias rm='rm -i' sounds safe…