2>&1

Alex Zbyslaw xfb52 at dial.pipex.com
Sun May 28 05:53:18 PDT 2006


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




More information about the freebsd-questions mailing list