First page Back Continue Last page Overview

 

Redirecting Both Standard Output and Error

 
  • Redirection of standard output and standard error can be performed simultaneously:

    • find / -name passwd 2> errs > results
  • Each I/O channel can be redirected to different files, or to the same file:

    • find / -name passwd > alloutput 2>&1
    • (or) find / -name passwd &> alloutput