Can I redirect script output to a file without ">> $LOGFILE" at the end of each line
To stop me having to do...
export OUTFILE=/home/user/logs
echo "Start script" >> $OUTFILE
echo "Blah blah " >> $OUTFILE
run command -a -h >> $OUTFILE
do this and that >> $OUTFILE
echo "Stop Script" >> $OUTFILE
Dave...
|