cut

remove sections from each line of files

Cut uptime, using , as a delimiter removing the leading space with another cut
copy
20
1
uptime |cut -d , -f 1 | cut -c 2-Cut uptime, using , as a delimiter removing the leading space with another cut

details |

Result:

21:14:38 up  2:03

Options: