Compare commits
No commits in common. "cdfd40e20de08507f9a7006da810b60a5fd77bbc" and "5f6108a5e2a2fc29472d6bc8121799f2ae7ba4be" have entirely different histories.
cdfd40e20d
...
5f6108a5e2
|
@ -55,18 +55,3 @@ gedit() { ${GEDITOR:-xed} $@; }
|
|||
unlocku () ( faillock --user $1 --reset )
|
||||
|
||||
rsynchg() { rsync --help | grep "\-$1"; }
|
||||
|
||||
|
||||
gip () {
|
||||
if which jqx &> /dev/null; then
|
||||
curl -s "https://dns.google/resolve?name=$1" | jq -r '.Answer[] | .data'
|
||||
return 0
|
||||
else
|
||||
echo install jq to use this function
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
gpip () {
|
||||
curl https://ipv4.nsupdate.info/myip
|
||||
}
|
|
@ -73,6 +73,4 @@ fi
|
|||
|
||||
alias portl="ss -tunl | grep"
|
||||
|
||||
alias ipg="ip addr show | grep -A1 "
|
||||
|
||||
alias pubip="curl https://ipv4.nsupdate.info/myip; echo"
|
||||
alias ipg="ip addr show | grep -A1 "
|
Loading…
Reference in New Issue