Which command is used to display information about a remote user's login details, including last login times, in a Linux environment?

Get ready for your networking concepts exam! Study with flashcards and multiple-choice questions that include hints and explanations. Enhance your understanding and achieve success!

Multiple Choice

Which command is used to display information about a remote user's login details, including last login times, in a Linux environment?

Explanation:
The concept here is retrieving user account and login information from a system. The command that can display details about a remote user's login history, including the last login times, is finger. Finger is designed to show information about user accounts, such as real name, home directory, login shell, whether the user is currently logged in, and their last login timestamp. When you query a remote host (for example, finger user@host), it asks that host’s finger service for the same information, which can include the last login time for that user on that machine. Other commands listed don’t provide this kind of user-account or login-history detail: ps shows processes, grep searches text, and echo prints a string.

The concept here is retrieving user account and login information from a system. The command that can display details about a remote user's login history, including the last login times, is finger. Finger is designed to show information about user accounts, such as real name, home directory, login shell, whether the user is currently logged in, and their last login timestamp. When you query a remote host (for example, finger user@host), it asks that host’s finger service for the same information, which can include the last login time for that user on that machine. Other commands listed don’t provide this kind of user-account or login-history detail: ps shows processes, grep searches text, and echo prints a string.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy