error output redirection

Markiyan Kushnir mkushnir at
Mon Oct 12 08:59:53 UTC 2009

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


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 mailing list
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list