Created
August 6, 2017 07:20
-
-
Save sachinsmc/d5c133e52f80ca119d6932fa23fe1310 to your computer and use it in GitHub Desktop.
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 | |
#create a log file with current timestamp | |
DATE="`date '+%Y%m%d%H%M%S'`.log" | |
./systeminfo.sh > ../logs/$DATE | |
echo "Log file saved." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment