Bookmarks tagged [ipaddress]
https://stackoverflow.com/questions/8529181/which-terminal-command-to-get-just-ip-address-and-nothin...
On OSX, if you know the interface, you could use - $ ipconfig getifaddr en0
You can write a script that only return the IP like: ...
- tags: shell, osx, linux, ipaddress, networking