Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 5 lines (3 sloc) 124 Bytes
#!/bin/bash
# this script prints your IP address. OSX Only.
ifconfig | grep -i -E "inet [0-9]+.[0-9]+" | awk '{print $2}'