DEV Community

Discussion on: Lazy habits in linux terminal

Collapse
 
dmfay profile image
Dian Fay • Edited

I only have a few aliases I use with any regularity and most of them are less laziness and more not wanting to remember byzantine argument and switch combinations for specific tasks:

listening='netstat -plnt'
vpn='cd /etc/openvpn && sudo openvpn --config /etc/openvpn/vpn.conf'
rot13='tr a-zA-Z n-za-mN-ZA-M'
gunm='echo -e "$(git ls-files --modified)\n$(git ls-files)" | sort | uniq -u'
gtree='git log --graph --abbrev-commit --decorate --date=relative --format=format:'\''%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'\'' --all'