Sponsored Content
Full Discussion: GeekTool
Top Forums UNIX for Dummies Questions & Answers GeekTool Post 302189576 by redhead on Saturday 26th of April 2008 02:21:02 PM
Old 04-26-2008
# uptime | sed -e 's/:/h /g' -e 's/,/min/g' | awk '{print "Uptime: " $5 " "$6}'
 

We Also Found This Discussion For You

1. UNIX for Dummies Questions & Answers

geekTool

Hello! Here is my problem: I try to display the uptime of my computer on my desktop with the help of a tool called GeekTool (for Mac). I want the uptime output to look like that: x day(s) y h z min (but if the pc is only running e.g for several minutes it should leave out the day and the... (1 Reply)
Discussion started by: MastaFue
1 Replies
All times are GMT -4. The time now is 12:12 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy