How to monitor ports in a linux machine, with single
command?

Answer Posted / sarath

netstat -anpc

a:all listening ports and established connections
n:numeric host:port values
p:programs
c:continuous monitor

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain difference between nfs soft and hard mouniting points?

506


Brief about finger username?

560


why is the tar command used?

542


How do I know my shell?

531


What does uname do in linux?

535






What is tty name?

558


Brief about the command nn?

601


What is difference between egrep and grep?

511


What are the basic commands for user management?

541


What is cpu core in linux?

510


How do I check command history?

539


How often do you use grep command and how in Linux operating system?

531


What is du -s * | sort -k1,1rn | head command used for?

530


What is llvm used for?

518


What is p command?

565