-- quoting Jon Essen-Moller --
> I saw this thread and wish to now what /2>&1 /does and maybe you know a
> place where I can find out more about this?
> Best regards - Jon
"2>&1" means "redirect STDERR (2) to STDOUT (1)"
a good starting point for further research would be "man bash
Hi,
I saw this thread and wish to now what /2>&1 /does and maybe you know a
place where I can find out more about this?
Best regards - Jon
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsub
On Fri, Oct 10, 2003 at 04:26:16PM -0500, Charles Howse wrote:
> It should be:
> ... > /dev/null 2>&1
> The the greater-than symbol preceeds the ampersand .
Thank you, that makes much more sense now.
--
Max Clark
http://www.clarksys.com";>Max Clark
___
> > What is the proper way to redirect output to /dev/null? I've
> > been using the following in my crontab but output is still
> > ending up in my mailbox.
> >
> > ... 2>&1 > /dev/null
>
> The ampersand preceeds the greater-than symbol, and you
> redirect STDOUT
> to /dev/null, and then redir
> What is the proper way to redirect output to /dev/null? I've
> been using the following in my crontab but output is still
> ending up in my mailbox.
>
> ... 2>&1 > /dev/null
The ampersand preceeds the greater-than symbol, and you redirect STDOUT
to /dev/null, and then redirect STDERR to STDOU
In the last episode (Oct 10), Max Clark said:
> What is the proper way to redirect output to /dev/null? I've been
> using the following in my crontab but output is still ending up in my
> mailbox.
>
> ... 2>&1 > /dev/null
I'm sure this is in a sh FAQ someplace:
What you did was dup fd1 onto fd2,
Hi all,
What is the proper way to redirect output to /dev/null? I've been using the following
in my crontab but output is still ending up in my mailbox.
... 2>&1 > /dev/null
Thanks,
Max
--
Max Clark
http://www.clarksys.com";>Max Clark
___
[EMAIL PRO