Macintosh: to check the Gateway

Posted on 2011-10-05
Last Modified: 2012-05-12
1) I am used to with the Microsoft Window and (a little bit of) Linux Operating system
2) I am not familiar with the Macintosh OS
3) I saw some MacBook (The OS is Mac OS X 10.6.8) at a company (production environment)

4) If I want to check the gateway, i will execute this command --> netstat -nr
5) My question: What is the command to check the gateway on MacBook

Question by:tjie
    LVL 21

    Accepted Solution

    Same command.

    OS X is FreeBSD with the Mac GUI on top.  A vast majority of the "basic" commands and files you know on Linux will be the same on OS X.
    LVL 8

    Expert Comment

    You can also use, ifconfig to view the configured gateway


    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Suggested Solutions

    In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
    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…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.

    729 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

    19 Experts available now in Live!

    Get 1:1 Help Now