?
Solved

Netstat command for Linux?

Posted on 2006-10-26
2
Medium Priority
?
614 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 2000 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

WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

Question has a verified solution.

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

Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
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.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses
Course of the Month10 days, 2 hours left to enroll

762 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