DOS from MAC

Is there a way to run DOS commands from a MAC OS X?  Some of the things are need to be able to do are:

ipconfig /all
ipconfig /flushdns
Ping
tracert
deklinmAsked:
Who is Participating?
 
PapertripCommented:
Here are the OS X equivalents:

/sbin/ifconfig -a
dscacheutil -flushcache 
ping
traceroute

Open in new window

0
 
pritamduttCommented:
What you are referring to as is known as Apple terminal and can be invoked easily - just start Finder open Applications, and from within open the Utilities folder. There it is, Terminal. Looks complicated, but you only have to do it once – you can drag the Terminal icon into the dock for easy launching it in the future.

And the commands you are referring to are windows commands which are different in case of Mac OS X

ipconfig /all  on Windows would be ifconfig
ipconfig /flushdns is replaced with dscacheutil -flushcache or flushcache depending on your current OS version
ping remains to be ping
tracert on windows is traceroute on Mac OS X


In fact in Mac OS x it is possible to access PING and Traceroute commands from GUI with easy steps - On the Toolbar, click Go and select Utilities folder from the menu. Double click the Network Utility icon.
Select the Ping tab to ping.
Select Traceroute tab to traceroute.

Hope this helps.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.