Added external ip function to bash aliases
This commit is contained in:
parent
1c813a245c
commit
cce09ab331
@ -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/$@"; }
|
||||||
|
Loading…
Reference in New Issue
Block a user