Getting your IP address
Sometimes you need your local IP address on the command line to automatically pass it to a script.
ifconfig en0 |awk '/inet / {print $2; }'
Sometimes you need your local IP address on the command line to automatically pass it to a script.
ifconfig en0 |awk '/inet / {print $2; }'