Bash Aliases
I love being able to create my own aliases with Linux. Instead of memorizing commands I can just add quick calls to the code for things I notice I do a lot! The following are just some basics that save me a lot of time.
Reload profile, shell environment setup
bashalias envsetup=". ~/.profile"
Display External IP Address
bashalias myip="wget http://ipinfo.io/ip -qO -"
Clear Screen & Scrolling
bashalias cls="echo -e \\\033c"
Ubuntu Update/Upgrade/Auto-remove, use with caution hah
bashalias update="sudo apt-get update && sudo apt-get upgrade && sudo apt-get autoremove"
Year Month Day Hour Minute Second Time Format
bashalias ymdhis="date +'%Y%m%d%H%M%S'"
Count Files Within Directory
bashalias count="find . -type f | wc -l"