Useful Bash Aliases
August 20, 2023•78 words
The Resource File for Bash
- Don't use /etc/profile as it's for all users
- Don't use ~/profile as it's for the whole session
- Use ~/.bashrc for every Bash process
Useful Aliases
alias b="bash"
alias n="nano"
alias m="micro"
alias lld="ls -laXh --group-directories-first"
# Always git pull first in a day, and often during the day, even before 'pp'
alias pp="git status; git add -A; git commit -a -m Msg; git pull; git push"