From owner-freebsd-questions@FreeBSD.ORG Mon Oct 12 09:12:26 2009 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 ACA9A10656EE for ; Mon, 12 Oct 2009 09:12:26 +0000 (UTC) (envelope-from mkushnir@lohika.com) Received: from sbox.lohika.com (sbox.lohika.com [217.9.0.182]) by mx1.freebsd.org (Postfix) with ESMTP id 311C98FC1B for ; Mon, 12 Oct 2009 09:12:25 +0000 (UTC) X-IronPort-AV: E=Sophos;i="4.44,544,1249246800"; d="scan'208";a="3106287" Received: from unknown (HELO dekker.lohika.com) ([172.20.100.30]) by sbox-local.lohika.com with ESMTP; 12 Oct 2009 12:12:24 +0300 Received: from [95.135.129.220] ([95.135.129.220]) (authenticated bits=0) by dekker.lohika.com (8.14.2/8.14.2) with ESMTP id n9C9E4RB030467 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Oct 2009 12:14:05 +0300 (EEST) (envelope-from mkushnir@lohika.com) Message-ID: <4AD2F2F5.3090805@lohika.com> Date: Mon, 12 Oct 2009 12:12:21 +0300 From: Markiyan Kushnir User-Agent: Thunderbird 2.0.0.22 (X11/20090808) MIME-Version: 1.0 To: Nerius Landys References: <560f92640910120053s1c9bb2fcj838d622627f164b3@mail.gmail.com> <4AD2EFF3.9020501@lohika.com> In-Reply-To: <4AD2EFF3.9020501@lohika.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.94.2/9882/Mon Oct 12 03:15:10 2009 on dekker.lohika.com X-Virus-Status: Clean Cc: freebsd-questions@freebsd.org, Stefan Miklosovic Subject: Re: error output redirection 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: Mon, 12 Oct 2009 09:12:26 -0000 George Davidovich already gave an answer. Markiyan Kushnir wrote: > what is easily done with tee for stdout cannot be done for stderr. Looks > like there is no easy way to make a pipeline using stderr separately > from stdout. If you want to watch output of the stderr separately from > stdout, you might manage for it in two consoles: > > % foo 2>err > > % tail -f err > > Markiyan. > > Nerius Landys wrote: >>> if error output of some program appear on screen, >>> it is possible to print it also to some file simultaneously ? >> >> Since you said "simultaneously", it made me think of the command tee. >> man tee? >> _______________________________________________ >> 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" > _______________________________________________ > 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"