Linux append console output to a logfile?
You can use >>
for appending to the same logfile
for e.g cmd1 >> logfile.log
then use for other commnad like
cmd2 >> logfile.log
>>
is used for append data to the file
just replace >
for >>
You can use >>
for appending to the same logfile
for e.g cmd1 >> logfile.log
then use for other commnad like
cmd2 >> logfile.log
>>
is used for append data to the file
just replace >
for >>