-
-
Save katsuma/1348626 to your computer and use it in GitHub Desktop.
Get IP address and set it to clipboard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ifconfig en1 | grep netmask | awk '{ print $2 }' | pbcopy && pbpaste |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment