Solved

Netstat command for Linux?

Posted on 2006-10-26
2
606 Views
Last Modified: 2013-12-16
I know very little about Linux, so if there are any answers could you break it down for me.

I'm trying to find what active ports and services are being used on a Linux server and what server or workstation they are connected to.  In Windows I would use the netstat command or use a tool like tcpview.  Are there any commands in Linux that can do the same thing?
0
Comment
Question by:kryptotech
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 45

Accepted Solution

by:
sunnycoder earned 500 total points
ID: 17812537
Hi kryptotech,

netstat command is available in Linux too... netstat -an
-a would show all connections and -n would show numeric addresses in dot notation

man netstat
http://www.die.net/doc/linux/man/man8/netstat.8.html

Cheers!
sunnycoder
0
 

Author Comment

by:kryptotech
ID: 17812592
Awesome, thanks.
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
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.

730 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