Darius Knowledge Hub

Home

❯

Get system uptime (how long it has been on)

Get system uptime (how long it has been on)

Jan 21, 20261 min read

  • knowledge
  • unix

Get system uptime (how long it has been on)


Created: 11 Jan 2023, 09:41 AM | Modified: =dateformat(this.file.mtime,"dd MMM yyyy, hh:mm a") Tags: knowledge, unix


date -d “(</proc/uptime awk '{print 1}’) seconds ago”

From <https://unix.stackexchange.com/questions/131775/how-long-has-my-linux-system-been-running>


Graph View

Created with Quartz v4.5.2 © 2026

  • GitHub
  • Discord Community