MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

UNIX

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The following command can list out all the current active logins.
A
A-whoami
B
B-who am i
C
C-who
D
D-None of the above.
Explanation: 

Detailed explanation-1: -The ‘who’ command can list out all the current active logins. What is the who command? In the field of Computer Studies, the who command is used to get information about the current active logins in a system. Hence, it is the correct option.

Detailed explanation-2: -The who command is used to display the users logged into the system. The who command related to the w command that is used to display information about the users currently on the machine and their processes.

Detailed explanation-3: -Users command is used to print the user name who are all currently logged in the current host. It is one of the command don’t have any option other than help and version. If the user using, ‘n’ number of terminals, the user name will show in ‘n’ number of time in the output.

Detailed explanation-4: -The INPUT command is used to gather input from the user. This section will attempt to teach you how to gather input upon request from the user. For real-time input, see QBasic/Advanced Input.

There is 1 question to complete.