• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 278
  • Last Modified:

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
3 Solutions
Here are the OS X equivalents:

/sbin/ifconfig -a
dscacheutil -flushcache 

Open in new window

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.


Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now