RE: [CentOS] To redirect any message into /dev/null

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sun, 2006-09-24 at 23:38 -0700, Email Lists wrote:
> -> <snip>

> Oh I forgot, I do it this way too, you may need a second chicken for this
> one though.
> 
> 0,15,30,45 * * * * /usr/local/sbin/somescript 1>/dev/null 2>/dev/null

And more recent versions of bash permit &>/dev/null to redirect both
stdout and stderr. To append, still need the separate redirects though.

> Ymmv  ;->
> 
>  - rh
> 
> --
> Robert - Abba Communications
>    Computer & Internet Services
>  (509) 624-7159 - www.abbacomm.net
> <snip list stuff>

--
Bill

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux