RE:Logging errors


Subject: RE:Logging errors
From: Jose Luis Paredes (jose.paredes@yale.edu)
Date: Mon Jun 25 2001 - 12:07:35 MDT


        I found my answer in deja-news. If someone else is interested

The man page for your shell. For Bourne-style shells (sh, ksh, bash,
zsh, ash), the magic incantations look like

./command >stdout-file
./command 2>stderr-file
./command >stdout-file 2>stderr-file
./command >output-file 2>&1 # Sends stderr to output-file, too
./command >& output-file # Sends both stdout and stderr to output-file

-- 

************************** Jose Luis Paredes Computer Support Specialist II ITS Desktop Services Yale University jose.paredes@yale.edu Phone: (203) 432-9503 Fax: (203) 436-4087



This archive was generated by hypermail 2a24 : Mon Jun 25 2001 - 11:12:57 MDT