What is the command ..

Posted on 2004-11-23
Last Modified: 2010-04-22
Hi All,

What is the commnad in linux to see all the ports that are used.
I mean there is a commnad that i forget, that scans all the ports running on the system.

Question by:bhpr
    LVL 38

    Expert Comment


    netstat -a

    LVL 38

    Accepted Solution

    > scans all the ports running on the system
    It should be "nmap", which is network port scanner.

    LVL 16

    Expert Comment

    nmap is much more than a port scanner!!
    Use carefully!!
    LVL 16

    Expert Comment

    nmap allows all kinds of incomplete TCP connects,  etc etc
    btw, port-scanning is a pretty security-sensitive issue, so be sure you are not unduly doing something which your sysadmin might not want. Exceptions to this case are when you urself are the sysadmin ;)


    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Suggested Solutions

    Have you ever been frustrated by having to click seven times in order to retrieve a small bit of information from the web, always the same seven clicks, scrolling down and down until you reach your target? When you know the benefits of the command l…
    The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    754 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

    18 Experts available now in Live!

    Get 1:1 Help Now