How to redirect standard output to multiple log files Following seems to be not working. Any help is appreciated.
some_command 1> output_log_1 output_log_2 2>&1
Let's say we have a function:
To redirect the output from
This will also work as well:
This works for me in bash on Ubuntu 12.04. Hope it helps.