Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.
A systems administrator is compiling a report containing information about processes that are listening on the network ports of a Linux server. Which of the following commands will allow the administrator to obtain the needed information?
The command that would provide information about processes listening on network ports in a Linux server is:
A. ss -plnt
This command will list all listening TCP ports along with the process information. So, option A is the correct choice.
A. ss -plnt
Explanation:
The ss command in Linux is used to display detailed socket information, such as which processes are listening on which ports, among other things. The -p option displays the process ID and process name that are using the socket. The -l option displays only listening sockets. The -n option displays the port numbers in numerical form, and the -t option displays only TCP sockets.
C. netstat -pn - This command displays information about network connections, routing tables, and a variety of network statistics. The -p option shows the process ID and process name associated with each socket, but it may not work on all systems, and netstat itself has largely been deprecated in favor of newer utilities like ss.
upvoted 1 times
...
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Joshuac1392
1 month agobongobo
2 months agolinux_admin
1 year, 3 months ago