Posts by Ricardo Luis Madiuto • 1 point
1 post
-
0
votes3
answers2285
viewsA: How to get the local ip in shell-script?
Shows all Ips: ip addr show | grep global | grep -oE '((1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])\.){3}(1?[0-9][0-9]?|2[0-4][0-9]|25[0-5])' Shows the main IP address: ip addr show | grep global | grep -oE…