Fixed myip alias in .bash_aliases

This commit is contained in:
Phil 2021-05-11 23:35:08 +01:00
parent 8a31802ce9
commit 78c72027bb

View File

@ -19,7 +19,7 @@ alias nethack-online='ssh nethack@nethack.alt.org ; clear'
alias tron-online='ssh sshtron.zachlatta.com ; clear' alias tron-online='ssh sshtron.zachlatta.com ; clear'
# My IP Info # My IP Info
alias myip='MYIP=$(curl -s http://ipecho.net/plain; echo) && curl ipinfo.io/"$MYIP" && echo' alias myip='MYIP=$(curl -s https://ipecho.net/plain; echo) && curl https://ipinfo.io/"$MYIP" && echo'
alias ports-in-use='sudo lsof -i -P -n | grep LISTEN' alias ports-in-use='sudo lsof -i -P -n | grep LISTEN'
# Mis typed whois # Mis typed whois
alias whosi='whois' alias whosi='whois'