Hi Everyone.
I have a small shell script that performs some tasks each night and I would like to write the output to a file to create a log of the activity so that I can verify it is working ok and log and errors. However, if I use '> /etc/log/test.log' after the command it simply over writes the file each time, which is no good, how to I get it to append to the end of the file instead. Are there some commands for writing to files?
Thanks for any help.
Best Regards
Andrew.
I have a small shell script that performs some tasks each night and I would like to write the output to a file to create a log of the activity so that I can verify it is working ok and log and errors. However, if I use '> /etc/log/test.log' after the command it simply over writes the file each time, which is no good, how to I get it to append to the end of the file instead. Are there some commands for writing to files?
Thanks for any help.
Best Regards
Andrew.