Solved

Netstat command for Linux?

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
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.

760 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

20 Experts available now in Live!

Get 1:1 Help Now