Added external ip function to bash aliases

This commit is contained in:
Brad Ganley 2021-07-15 12:30:37 -05:00
parent 1c813a245c
commit cce09ab331

View File

@ -34,4 +34,8 @@ nquick (){ sudo nmap -sV -T4 -O -F --version-light $@; }
alias wttr='ansiweather -l belleville,illinois -u imperial -s false' alias wttr='ansiweather -l belleville,illinois -u imperial -s false'
rtfm() { help $@ || info $@ || man $@ || curl "http://cheat.sh/$@"; } rtfm() { help $@ || info $@ || man $@ || curl "http://cheat.sh/$@"; }
extip(){ ip=$(curl -s http://api.ipify.org);
echo "Public IP address is $ip"
}
ch() { curl "http://cheat.sh/$@"; } ch() { curl "http://cheat.sh/$@"; }