Q: ipconfig command for Mac
Hi, i am used to entering the ipconfig command on Windows command prompt to get all the network information. I tried this command on the OS X terminal and it won't work. Can anyone tell me why this is not working or if i am doing anything wrong. When i type "ipconfig into the terminal, i get this:
usage: ipconfig <command> <args>
where <command> is one of waitall, getifaddr, ifcount, getoption, getpacket, getv6packet, set, setverbose
I don't have any idea of what to do. Is this what is supposed to happen because i am reading tutorials on the internet that tell me to do ipconfig to see information. I dont want to get information from System Preferences, I want to get it in the terminal like on Windows (if that is even possible).
Thanks for any help.
Michael
Posted on Jul 25, 2015 10:59 AM
You need to use a more specific command. Pick one of the options it describes; if you don't know which one to choose, type in:
man ipconfig
You may need to use a Terminal command other than ipconfig depending on what you're looking for.
(130771)
Posted on Jul 25, 2015 11:03 AM