Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2002 20:39:54 +0300
From:      zhuravlev alexander <zaa@ulstu.ru>
To:        questions@FreeBSD.ORG
Subject:   Re: /dev/null 2>&1
Message-ID:  <20020114203954.B59890@ulstu.ru>
In-Reply-To: <20020114173304.68462.qmail@web21210.mail.yahoo.com>
References:  <20020114173304.68462.qmail@web21210.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jan 15, 2002 at 01:33:04AM +0800, adrian kok wrote:
> Dear all
> 
> What is the meaning of /dev/null 2>&1
> 
> Thank you
> 
> Regards
>
	for example, if you type 

	find / -name foo > /dev/null 2>&1

	is seems that stdin is redirected to nowhere (/dev/null)
	and stderr is redirected to stdout e.g to /dev/null too 


> 
> _______________________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
--
zhuravlev alexander
 u l s t u  c t c
e-mail:zaa@ulstu.ru

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?20020114203954.B59890>