From owner-freebsd-questions@FreeBSD.ORG Sun May 28 13:14:54 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D00516C087 for ; Sun, 28 May 2006 13:14:54 +0000 (UTC) (envelope-from mj001@rogers.com) Received: from smtp104.rog.mail.re2.yahoo.com (smtp104.rog.mail.re2.yahoo.com [206.190.36.82]) by mx1.FreeBSD.org (Postfix) with SMTP id 9C03A43D6D for ; Sun, 28 May 2006 13:14:50 +0000 (GMT) (envelope-from mj001@rogers.com) Received: (qmail 22054 invoked from network); 28 May 2006 13:14:49 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date:Message-Id:Mime-Version:X-Mailer:Content-Transfer-Encoding; b=uKaAVDxRfFuzqySsFWz8FU569hMJD/Bb+VORwZpX6rL86ufhSBJoSdyzGOGC/jXILSP54uxsGe2ikEtcroMDyJKahog6uECMiekUiwPwgSUf5S9AbPwA3EEvr+GUrsGacn9UPCLOKktvr6wElniLNcoSIqd7+NM7lbZ0/9+Ep7g= ; Received: from unknown (HELO chaucer.jeays.ca) (mj001@rogers.com@72.139.51.96 with plain) by smtp104.rog.mail.re2.yahoo.com with SMTP; 28 May 2006 13:14:49 -0000 From: Mike Jeays To: Grant Peel In-Reply-To: <00d601c68254$b814c330$6501a8c0@grant> References: <00d601c68254$b814c330$6501a8c0@grant> Content-Type: text/plain Date: Sun, 28 May 2006 09:14:43 -0400 Message-Id: <1148822083.95778.100.camel@chaucer.jeays.ca> Mime-Version: 1.0 X-Mailer: Evolution 2.4.2.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: 2>&1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 May 2006 13:14:55 -0000 On Sun, 2006-05-28 at 08:46 -0400, 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? > > -Grant > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" It directs both stdout and stderr to /dev/null. Look in 'man bash', or any tutorial on bash for a more detailed description. Quite confusing syntax, and a hard-to-remember incantation, IMHO. -- Mike Jeays http://ca.geocities.com/mike.jeays@rogers.com