I know that I can let Linux to write the console output to a logfile by doing:
command > logfile.log
But this overwrites whatever was in the logfile before. How do I make it append the output to the logfile rather than overwriting it?
I know that I can let Linux to write the console output to a logfile by doing:
command > logfile.log
But this overwrites whatever was in the logfile before. How do I make it append the output to the logfile rather than overwriting it?
A single greater than character > WRITES output to a file.
A double character >> APPENDS output into an existing file