Overview
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.
Command Format
$ uptime [flags]
To know more about the command, type the man command
$ man uptime
Examples
Launch the Terminal and type the following command.
For example,
$ uptime
$ 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:
https://www.testingdocs.com/linux-basic-commands-tutorial/
More Information on Ubuntu Linux:
https://ubuntu.com/