Hi,
1.
Code:
some_command > logfile1 2>&1
will redirect everything to the file logfile1 without displaying the output of the command on the screen.
2.
Code:
some_command | tee logfile1 | tee logfile2
will redirect the output to logfile1 and logfile2, as well as display the output of the command on the screen
please correct me if i am wrong as i am new to shell scripting..
Is there a way to redirect everything that would appear on the terminal to multiple logfiles without displaying it(output) on the terminal??