Date: Tue, 25 Feb 2003 11:59:40 -0500 (EST) From: John Bleichert <syborg@stny.rr.com> To: Brian Henning <b1henning@hotmail.com> Cc: freebsd <freebsd-questions@FreeBSD.ORG> Subject: Re: tcsh redirect Message-ID: <Pine.LNX.4.44.0302251156030.24193-100000@janeway.vonbek.dhs.org> In-Reply-To: <OE23Us4BWDGECvW5seW0000e795@hotmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.44.0302251156030.24193-100000>