title: Redirect Standard Output/error to log file
body: <p>Looking for a way to redirect std error and std output to a log file in Tcsh shell.</p>
  
  <p>Tried <code>./ShellFile.sh 2&gt;&amp;1 | pathToLogFile.log</code>
  and got the error "Ambiguous output redirect"</p>
  
  <p>Would appreciate any inputs.</p>