Solved

Netstat command for Linux?

Posted on 2006-10-26
2
600 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
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Ubuntu not booting - How get past GRUB? 3 43
How to enable sync between two yum repo? 1 32
VMware Tools Install On Linux Problem 3 62
linux SFTP 8 44
Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
Setting up Secure Ubuntu server on VMware 1.      Insert the Ubuntu Server distribution CD or attach the ISO of the CD which is in the “Datastore”. Note that it is important to install the x64 edition on servers, not the X86 editions. 2.      Power on th…
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.:
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

809 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