I am running a bash script that creates a log file for the execution of the command

I use the following

Command1 >> log_file
Command2 >> log_file

This only sends the standard output and not the standard error which appears on the terminal.

5 Answers
5

Leave a Reply

Your email address will not be published. Required fields are marked *