Skip to main content

Timeline for Command 'uptime' returns 'average'

Current License: CC BY-SA 3.0

4 events
when toggle format what by license comment
May 1, 2014 at 11:27 comment added Bernhard @DKBose True, you could solve that by an additional | tr -d ",". (Or in awk if you like)
May 1, 2014 at 11:00 comment added DK Bose uptime | awk '{print $(NF-2)}' will give the comma as well.
Apr 27, 2014 at 15:45 comment added Vlad Chaotic thank you. I have just realized that 'average' originates from the 'uptime' result string and my awk command just sends it according to my 'print $10' instruction. I have never thought in that way )) Thanks a lot.
Apr 27, 2014 at 15:38 history answered Bernhard CC BY-SA 3.0