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

show all cookies

Thursday, August 5, 2010