> > You first have to redirect STDOUT, then tell STDERR to go to > STDOUT... > > I've heard that before many times, but the reverse has never failed me. > Hmm. You've never been in the situation where it's been important, then. These commands give different results, and guess which one outputs nothing! ls file-that-does-not-exist 2>&1 >/dev/null ls file-that-does-not-exist >/dev/null 2>&1 Peter K. ------------------------------------------------------------------------ Peter Klavins Datalon SrL klavins@netspace.net.au Viale Giuseppe Mazzini 114/A Mobile +39 339 801 4246 Fax +39 06 233 297 037 00195 Roma RM Italy > -----Original Message----- > From: Andrew McGlashan [mailto:andrew.mcglashan@affinityvision.com.au] > Sent: Friday, 21 September 2007 9:56 AM > To: Turbo Fredriksson; debian-isp@lists.debian.org > Subject: Re: Password file with over 3000 users. > > Turbo Fredriksson wrote: > > Quoting Michael Loftis <mloftis@modwest.com>: > > > >>> I will have to look into controlling the cron spam. > >> 2>&1 > /dev/null to end of command line. > > Actually, it's the other way around: > > > >> /dev/null 2>&1 > > > > You first have to redirect STDOUT, then tell STDERR to go to > STDOUT... > > I've heard that before many times, but the reverse has never failed me. > > Kind Regards > AndrewM > > Andrew McGlashan > Broadband Solutions now including VoIP > > Current Land Line No: 03 9912 0504 > Mobile: 04 2574 1827 Fax: 03 8790 1224 > > National No: 1300 85 3804 > > Affinity Vision Australia Pty Ltd > http://www.affinityvision.com.au > http://adsl2choice.net > > In Case of Emergency -- http://www.affinityvision.com.au/ice.html > > > -- > To UNSUBSCRIBE, email to debian-isp-REQUEST@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact > listmaster@lists.debian.org
Attachment:
smime.p7s
Description: S/MIME cryptographic signature