I do not understand the difference between these two commands:
script_file log_file
script_file | tee log_file
As I understand, the first runs and redirects its standard output to a log
file. The second runs and pipes its standard output to the tee command,
which copies its
: OT: Unix tee command
[EMAIL PROTECTED]
om
tee copies it's standard input both to standard output and the file. You can
see what it does and have a log file after that.
BTW man tee is faster than putting this onto the list
oli
[EMAIL PROTECTED] wrote:
I do not understand the difference between these two commands: