On Tue, 25 Feb 2003, Brian Henning wrote:
> 
> hello-
> can anyone tell me how to redirect just the stderr in tcsh?
> 
> command > /dev/null   #suppress stdout
> command >& /dev/null  #suppress stderr and stdout
> 
> what can i run to suppress just the stderr?
> 
> thanks,
> 
> brian
> 

>From "UNIX in a Nutshell, 3rd ed.":

(command > file1) >& file2

sends standard output to file1 and standard error to file2. I don't think 
that's exactly what you were looking for, but hope it helps. 

Note that in bash or ksh:

command 2>file1

sends *only* stderr to file1. 

JB 

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message

Reply via email to