Useful bash aliases

Over the years my ~/.bashrc has collected a handful of shortcuts I can't work without.

alias ll='ls -lah'
alias gs='git status -sb'
alias ports='ss -tulpn'
mkcd() { mkdir -p "$1" && cd "$1"; }

mkcd creates a directory and steps into it; ports shows which processes are listening.

Run source ~/.bashrc afterwards so the changes apply to the current shell.