1
0
Fork 0
mirror of https://gitlab.com/dwt1/dotfiles.git synced 2023-02-13 20:55:19 -05:00
dwt1--dotfiles/.local/bin/upt

5 lines
178 B
Text
Raw Normal View History

2020-03-19 15:50:17 -04:00
#! /bin/bash
2020-03-20 13:13:52 -04:00
upt="$(uptime --pretty | sed -e 's/up //g' -e 's/ days/d/g' -e 's/ day/d/g' -e 's/ hours/h/g' -e 's/ hour/h/g' -e 's/ minutes/m/g' -e 's/, / /g')"
2020-11-15 07:16:21 -05:00
echo -e "$upt "