manual_overide
02-23-2001, 01:11 PM
Ok. Which command do I use to get a line of text added to a file? Right now, I'm using:
echo "The Databases were backed up on `date`" > /foo/bar/backup.txt
It replaces the file each time I run my little script. How can I get it to add a new line to the file instead of replacing it? I want to be able to see when each backup occurred. Thanks.
BTW, I'm using bash
echo "The Databases were backed up on `date`" > /foo/bar/backup.txt
It replaces the file each time I run my little script. How can I get it to add a new line to the file instead of replacing it? I want to be able to see when each backup occurred. Thanks.
BTW, I'm using bash