Updated myip function to use jq for processing JSON inputs, instead of python

This commit is contained in:
Phil 2024-11-12 20:56:09 +00:00
parent 1f290291b7
commit 261bc1fa27

View File

@ -35,7 +35,7 @@ alias nethack-online='ssh nethack@nethack.alt.org ; clear'
alias tron-online='ssh sshtron.zachlatta.com ; clear'
# 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'
# Typo