How do I combine stdout and stderr for different shells?
Fish shell
To redirect both standard output and standard error to the file all_output.txt, you can write:
echo Hello > all_output.txt ^&1
For csh and tcsh
some.exec >& out.txt
Fish shell
To redirect both standard output and standard error to the file all_output.txt, you can write:
echo Hello > all_output.txt ^&1
For csh and tcsh
some.exec >& out.txt