This is proboably easy for most, but as i have very little knowledge i was hoping one of you might be able to help. I want to split up the values returned by the command 'uptime' and put them into seperate values.
Say '10:03pm up 3 days, 9:27, 1 user, load average: 0.00, 0.00, 0.00' is the returned value by running the command. i would like it split it up into Time, Uptime (up 3 days, 9:27), Current Users and CPU Load.
Thanks
Edit by tye
In reply to Parsing 'uptime' output by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |