


Unlike w, who doesn’t show what the users are doing, though. You can also use the “who” command to display information about remote users. Use –ip-addr or -i to print out the IP of the remote hosts. The –short or -s option displays a shortlist, omitting CPU time and login information. You can also use additional flags, as shown above. It also shows information regarding the remote hosts, login time, idle time, name of the tty, etc. Admins can use this command to see users and their processes alongside the load average. The w command is another handy but practical server command that displays all the users logged in to a system and their activities.

The -p flag tells the system uptime in an easily readable format. You can use some additional flags to format your output differently. Additionally, the uptime command also displays the load average of the remote system and the number of users currently logged in. You can utilize this Linux command to log in to remote servers and see how long the system is running. The uptime command is a very simple Linux command that tells us the running time of our system. Additionally, this guide will also be helpful to seasoned sysadmins looking for practical references regarding common Linux server commands. We have outlined why they’re important to beginners and how you could benefit from these server commands. Most of the commands mentioned in this guide should be familiar to experienced users since they’re pretty basic. Simple but Practical Linux Server Commands
