Friday, August 6, 2010
simple log file
example of some commands to include in a bash script that will write out to a file for logging.
#!/bin/bash
today=$(date +%Y%m%d)
echo "the script ran at" $today >> home.txt
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment