error output redirection

Markiyan Kushnir mkushnir at lohika.com
Mon Oct 12 09:12:26 UTC 2009


George Davidovich <freebsd at 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 at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to 
>> "freebsd-questions-unsubscribe at freebsd.org"
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list