This article will explain some useful examples of who command for Linux newbies.
1. If you run command without any arguments, it will display account information (user login name, user’s terminal, time of login as well as the host the user is logged in from) on your system similar to the one shown in the following output.
2. To print the heading of the columYou can check the current runlevel with the
3. To print the login names and total number of logged on users, use the
4. Next, to add user’s message status as
?, use the
5.You can check the current runlevel with the