Updated myip function to use jq for processing JSON inputs, instead of python
This commit is contained in:
parent
1f290291b7
commit
261bc1fa27
2
.aliases
2
.aliases
@ -35,7 +35,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='curl -s https://ipv4.am.i.mullvad.net/json | python -m json.tool && echo'
|
alias myip='curl -s https://ipv4.am.i.mullvad.net/json | jq'
|
||||||
alias ports-in-use='sudo lsof -i -P -n | grep LISTEN'
|
alias ports-in-use='sudo lsof -i -P -n | grep LISTEN'
|
||||||
|
|
||||||
# Typo
|
# Typo
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user