From 7d9a9b2a5b0015ad33dca9436754bba0f4cbc59b Mon Sep 17 00:00:00 2001 From: David Kebler Date: Mon, 29 Apr 2024 13:03:08 -0700 Subject: [PATCH] get publicip with curl --- load/alias/00-basic | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/load/alias/00-basic b/load/alias/00-basic index 78bc22b..861140b 100644 --- a/load/alias/00-basic +++ b/load/alias/00-basic @@ -73,4 +73,6 @@ fi alias portl="ss -tunl | grep" -alias ipg="ip addr show | grep -A1 " \ No newline at end of file +alias ipg="ip addr show | grep -A1 " + +alias pubip="curl https://ipv4.nsupdate.info/myip; echo" \ No newline at end of file