Forrest logo
back to the uptime tool

uptime:tldr:865b3

uptime: Show only the amount of time the system has been booted for.
$ uptime --pretty
try on your machine

The uptime command is used to check the system uptime, which essentially measures the time elapsed since the system was last booted or started. When the uptime command is used with the --pretty option, it formats the output in a more human-readable and user-friendly way. It presents the system uptime in a more descriptive format rather than the default raw numeric value. For example, running uptime --pretty may show an output like: ``` 06:23:45 up 5 days, 3 hours, 12 minutes

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the uptime tool