From owner-freebsd-questions Tue Dec 17 12: 2: 2 2002 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 4629137B401 for ; Tue, 17 Dec 2002 12:02:01 -0800 (PST) Received: from hotmail.com (f92.sea2.hotmail.com [207.68.165.92]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAFA743ED1 for ; Tue, 17 Dec 2002 12:02:00 -0800 (PST) (envelope-from puralifecr@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 17 Dec 2002 11:54:25 -0800 Received: from 196.40.5.140 by sea2fd.sea2.hotmail.msn.com with HTTP; Tue, 17 Dec 2002 19:54:24 GMT X-Originating-IP: [196.40.5.140] From: "pura life CR" To: FreeBSD-questions@freebsd.org Subject: stderr redirection Date: Tue, 17 Dec 2002 13:54:24 -0600 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 17 Dec 2002 19:54:25.0003 (UTC) FILETIME=[19A4A3B0:01C2A606] Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG (1) Hi, I would like to know how can I redirect stdin, stdout and/or stderr from an interactive shell? (2) I am confused, it's smthg like %du -a / | grep foo >2 /dev/null ? In this case, I am looking for certain files and I dont want to view annonying message such as "permised denied" so the goal is redirect stderr to /dev/null, howto??. regards, _________________________________________________________________ Únete al mayor servicio mundial de correo electrónico: http://www.hotmail.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message