From owner-freebsd-questions@FreeBSD.ORG Tue Dec 18 17:38:39 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF9B816A418 for ; Tue, 18 Dec 2007 17:38:39 +0000 (UTC) (envelope-from pigskin_referee@yahoo.com) Received: from web34402.mail.mud.yahoo.com (web34402.mail.mud.yahoo.com [66.163.178.151]) by mx1.freebsd.org (Postfix) with SMTP id 7E29913C447 for ; Tue, 18 Dec 2007 17:38:39 +0000 (UTC) (envelope-from pigskin_referee@yahoo.com) Received: (qmail 62872 invoked by uid 60001); 18 Dec 2007 17:38:38 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=cjB9zwhuuaP+vaR5RlGETv8Yo/11uORwgKdmwDHBmTyDXHhX48zO4WIihXpjL+X7tgmhFlJY+0G5VwrGDESLuj0RoBWKjFhYu2rVtfN9OSVnxUVmH819QnxvKuIGQIPtpsr2D0gCoBUQsNn1nYJ8OzKdQMqskDDnRj+8aodis8c=; X-YMail-OSG: uhzQ0AAVM1mWd8yKokcDh51MHBCSF_.uHWMwo4cpl3o.KFf_TYIWopW31VBm_lkRzTF6HT4eKedXWHJ7zpfvcQxYMKYYuj2lZ4NVofAZuql1LorQeq_Q2D934SD9MA-- Received: from [67.189.206.211] by web34402.mail.mud.yahoo.com via HTTP; Tue, 18 Dec 2007 09:38:38 PST X-Mailer: YahooMailRC/818.31 YahooMailWebService/0.7.158.1 Date: Tue, 18 Dec 2007 09:38:38 -0800 (PST) From: White Hat To: FreeBSD Users Questions MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <678271.61474.qm@web34402.mail.mud.yahoo.com> Subject: Redirecting output 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: Tue, 18 Dec 2007 17:38:40 -0000 I am trying to find out exactly what is the difference between: {command} 2>&1 >> /dev/null and {command} dev/null 2>&1 I have seen both used and have not been able to decipher what the difference is. It would seem that the first one would be the one that is correct. -- White Hat pigskin_referee@yahoo.com ____________________________________________________________________________________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping