Redirect stderr to stdout in C shell
问题 When I run the following command in csh , I got nothing, but it works in bash . Is there any equivalent in csh which can redirect the standard error to standard out? somecommand 2>&1 回答1: The csh shell has never been known for its extensive ability to manipulate file handles in the redirection process. You can redirect both standard output and error to a file with: xxx >& filename but that's not quite what you were after, redirecting standard error to the current standard output. However, if