How to monitor ports in a linux machine, with single
command?
Answers were Sorted based on User's Feedback
Answer / 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 |
nmap is not the default available command.we can use netstat
netstat -nl, netstat -nltp ,netstat -nulp
| Is This Answer Correct ? | 0 Yes | 1 No |
Which are the linux directory commands?
Who am I command in linux?
What is the Difference between 'su' and 'su-' ?
1.I want to change runlevel but the Users shall not be disturbed?how? 2.Disk have 5gb disk utilization even though files unable to create, why? 3.what are the internal and external command in linux? 4.sar command o/p? 5.how list the open files? 6.what is kernel compiling? 7.How do u See complete configuration in ur system? 8.how will u make a daily updates with cron daily? 9.which port is associated with ttys0? 10.specific some problems linux admin(if u are linux admin)faced and how did u overcome it?
10 Answers IBM, TCS,
How do you know which shell I am using in linux?
What is du command in linux?
Suppose you try to delete a file using the rm command and the deletion fails. What could be the possible reason?
Explain about kernel file in linux?
What signal is ctrl c?
Explain about chmod options filename?
Did you work with linux? What flavors and versions?
What make install does?