DEV Community

loading...

Discussion on: What do you use aliases for in terminal?

Collapse
stevewhitmore profile image
Steve Whitmore
alias pubip="curl -s checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'"
alias netreset="sudo service network-manager restart"
alias bluetoothrestart="sudo /etc/init.d/bluetooth restart"
alias readmail="cat /var/spool/mail/$USER | less"
alias purgebranches="git branch | grep -v "master" | xargs git branch -D"
alias systeminfo="inxi -Fxz"
Forem Open with the Forem app