Linux OS Management Question:

What does the following command do?
who | wc -l

a) List the number of users logged in
b) List the users
c) List the number of users in the system
d) Display the content of who command

Linux Operating System Management Interview Question
Linux Operating System Management Interview Question

Answer:

a) List the number of users logged in


Previous QuestionNext Question
The /etc/passwd file doesn't contain:
a) userid
b) home directory for a user
c) login shell name
d) None of the above
The login shell is:
a) The shell program that runs when the user logs in
b) The shell program that authenticates the user while logging in
c) Common shell for all the users that belong to the same group
d) None of the above