Nov 7th, 2017
Here's a function I wrote to get my local IPv4 address in the terminal on a Mac.
function getipv4() { ifconfig | grep "inet 192" | awk '{print $2}'; }
Here's a function I wrote to get my local IPv4 address in the terminal on a Mac.
function getipv4() { ifconfig | grep "inet 192" | awk '{print $2}'; }