In this tutorial, we will learn about uptime Linux Command with examples.
uptime Linux Command
This command will display the current time, for how long the Linux machine has been up and running, the number of currently logged-in users, system load average at different times.
$ uptime [flags]
To know more about the command, type the man command
$ man uptime
Launch the Terminal and type the following command.
$ uptime -p
-p Pretty format that displays only the uptime.
This command is a simple forensic command, we can know when the machine was booted or the time the machine last restarted.
Linux Commands Tutorial page:
More Information on Ubuntu Linux: