Date: Fri, 22 May 1998 12:22:05 +0200 (CEST) From: Malte Lance <malte@webmore.com> To: flygt@sr.se Cc: freebsd-questions@FreeBSD.ORG Subject: RE: Newbie question Message-ID: <XFMail.980522122205.malte@webmore.com> In-Reply-To: <19980522091434.12772@sr.se>
next in thread | previous in thread | raw e-mail | index | archive | help
On 22-May-98 Gunnar Flygt wrote: > What does the ´>/dev/null 2>&1' seen in many compilations actually do? I > understand that the output is redirected to null but the rest does what? stdin -> filedescriptor 0 stdout -> filedescriptor 1 stderr -> filedescriptor 2 2> redirects stderr 2>&1 redirects stderr to filedescriptor 1 (which is redirected to /dev/null) Malte > > -- > regards, Gunnar > email: flygt@sr.se > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message ---------------------------------- E-Mail: Malte Lance <malte@webmore.com> Date: 22-May-98 Time: 12:19:39 ---------------------------------- 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?XFMail.980522122205.malte>