Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 May 2006 13:52:57 +0100
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        Grant Peel <gpeel@thenetnow.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 2>&1
Message-ID:  <44799D29.1080505@dial.pipex.com>
In-Reply-To: <00d601c68254$b814c330$6501a8c0@grant>
References:  <00d601c68254$b814c330$6501a8c0@grant>

next in thread | previous in thread | raw e-mail | index | archive | help
Grant Peel wrote:

> Hi all,
>
> When using cron, I understand the >/dev/null thing OK, but what 
> exactly does >2&1 do? Is it usefull anywhere else? Where might one 
> find ducumentation on it?
>
It redirects error output (aka standard error, stderr) to the same place 
as standard output (aka stout), in this case, the bit bucket. 

man sh, or any basic Unix book worth it's salt.

--Alex





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44799D29.1080505>