nerdexam
CompTIA

XK0-006 · Question #123

A systems administrator needs to report the IP addresses of the users currently connected to the server. Which of the following commands should the administrator use to find the required information?

The correct answer is B. $ w -i. This command displays information about currently logged-in users and includes the IP addresses they are connected from, making it suitable for reporting active user connections.

Services and User Management

Question

A systems administrator needs to report the IP addresses of the users currently connected to the server. Which of the following commands should the administrator use to find the required information?

Options

  • A$ whois @localhost
  • B$ w -i
  • C$ cat /etc/hosts
  • D$ who -l

How the community answered

(29 responses)
  • A
    3% (1)
  • B
    93% (27)
  • C
    3% (1)

Explanation

This command displays information about currently logged-in users and includes the IP addresses they are connected from, making it suitable for reporting active user connections.

Topics

#w command#logged-in users#IP addresses#session monitoring

Community Discussion

No community discussion yet for this question.

Full XK0-006 Practice