• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 625
  • Last Modified:

Netstat command for Linux?

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
kryptotech
Asked:
kryptotech
1 Solution
 
sunnycoderCommented:
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
 
kryptotechAuthor Commented:
Awesome, thanks.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now