COMPUTER SCIENCE AND ENGINEERING
UNIX
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
tput
|
|
mkdir
|
|
who
|
|
tty
|
Detailed explanation-1: -who command – Display information about users who are currently logged in. users command – See the login names of the users currently on the system, in sorted order, space separated, on a single line. It reads all information from /var/run/utmp file.
Detailed explanation-2: -Expert-Verified Answer The modified version of who command is w command. The w command not only enlists the users hit also provides additional information about them. The extra information provided is the work of other users, time since system is running and the load on system due to those functions.
Detailed explanation-3: -Users command is used to print the user name who are all currently logged in the current host.
Detailed explanation-4: -who command is a tool print information about users who are currently logged in. who command only see a real user who logged in. On most Linux distribution, who command is already installed. To use it, just type who on your console.