Created
June 5, 2017 06:51
-
-
Save bitmess/01ec2e6f96fa75b305254d1ef394d5b5 to your computer and use it in GitHub Desktop.
record Mac SHUTDOWN & OPEN time
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
PATH=/Users/time_logo.txt | |
echo `/usr/bin/last shutdown | /usr/bin/sed -n '1p'` "stop" >> $PATH | |
echo `/bin/date` "start" >> $PATH |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment