Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

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.

Exam XK0-005 topic 1 question 167 discussion

Actual exam question from CompTIA's XK0-005
Question #: 167
Topic #: 1
[All XK0-005 Questions]

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?

  • A. ss -plnt
  • B. tcpdump -nL
  • C. netstat -pn
  • D. lsof -lt
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Joshuac1392
1 month ago
Selected Answer: A
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.
upvoted 1 times
...
bongobo
2 months ago
I use: nmap localhost
upvoted 1 times
...
linux_admin
1 year, 3 months ago
Selected Answer: A
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
...
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.

SaveCancel
Loading ...