Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Scripts: battery level and nicer uptime' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Scripts: battery level and nicer uptime
Authored by: mervTormel on Oct 17, '03 01:46:39AM

$ echo uptime: `uptime | cut -d, -f1 | colrm 1 10`
uptime: 5 hrs



[ Reply to This | # ]
Scripts: battery level and nicer uptime
Authored by: greggo on Oct 17, '03 09:50:52AM

You could also use this for a nice uptime output...

echo Up Time = `uptime | awk '{print $3}' | tr -d ,` \(hours:minutes\)
-->Up Time = 17:52 (hours:minutes)



[ Reply to This | # ]