Skip to main content

Tell how long the system has been running and other information.

# To print current time, uptime, number of logged-in users and other information:
uptime

# To show only the amount of time the system has been booted for:
uptime --pretty

# To print the date and time the system booted up at:
uptime --since

# To show version information:
uptime --version