DOS from MAC

Posted on 2011-10-16
Last Modified: 2012-05-12
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
Question by:deklinm
    LVL 21

    Accepted Solution

    Here are the OS X equivalents:

    /sbin/ifconfig -a
    dscacheutil -flushcache 

    Open in new window

    LVL 9

    Assisted Solution

    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.

    LVL 53

    Assisted Solution


    Featured Post

    Courses: Start Training Online With Pros, Today

    Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

    Join & Write a Comment

    Do you come here a lot? Are you lazy like me and don't want to go through the "trouble" of having to click your Dock's Safari icon and then having to click your Experts Exchange Favorites bookmark to get here? Well then this article is for you.
    Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now