2 # writes an uptime report to a file in the home directory which is named
3 # after the current machine's hostname.
4 source "$FEISTY_MEOW_DIR/scripts/core/functions.sh"
5 export hosty=$(hostname | sed -e 's/^\([^.]*\).*$/\1/')
6 export REPORT_FILE="$HOME/${hosty}_uptime.log"
7 echo "$(date_stringer) -- $(uptime)" >>"$REPORT_FILE" 2>&1