Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Oct 2009 12:12:21 +0300
From:      Markiyan Kushnir <mkushnir@lohika.com>
To:        Nerius Landys <nlandys@gmail.com>
Cc:        freebsd-questions@freebsd.org, Stefan Miklosovic <miklosovic.freebsd@gmail.com>
Subject:   Re: error output redirection
Message-ID:  <4AD2F2F5.3090805@lohika.com>
In-Reply-To: <4AD2EFF3.9020501@lohika.com>
References:  <f99a79ec0910111436g62b93acfg873771c04b6b9b1e@mail.gmail.com>	<560f92640910120053s1c9bb2fcj838d622627f164b3@mail.gmail.com> <4AD2EFF3.9020501@lohika.com>

next in thread | previous in thread | raw e-mail | index | archive | help
George Davidovich <freebsd@optimis.net> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4AD2F2F5.3090805>