Looking for a way to redirect std error and std output to a log file in Tcsh shell.
Tried ./ShellFile.sh 2>&1 | pathToLogFile.log and got the error "Ambiguous output redirect"
./ShellFile.sh 2>&1 | pathToLogFile.log
Would appreciate any inputs.