1
vote
4answers
1k views

Finding computer uptime from first day until now

I need to find PC uptime from the day of installation until now. Is this logged somewhere? Does any file log this cumulative uptime?
2
votes
1answer
186 views

write pc uptime in a file in shutdown

I need to log PC uptime. How I can do this? I use uptime for this and I will when ubuntu is shutdown write this command output in a file.