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 mi
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
Ma
> 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://list
On Sun, Oct 11, 2009 at 11:36:52PM +0200, Stefan Miklosovic wrote:
> if error output of some program appear on screen, it is possible to
> print it also to some file simultaneously?
Depends on the program, but generally, yes.
http://en.wikipedia.org/wiki/Standard_streams
http://en.wikipedia.org/w
On Sun, 11 Oct 2009 23:36:52 +0200, Stefan Miklosovic
wrote:
> hi list,
>
> if error output of some program appear on screen,
> it is possible to print it also to some file simultaneously ?
>
> e.g
> if I "cat" file which do not exist, error is on screen,
> I want to add that error to some file
hi list,
if error output of some program appear on screen,
it is possible to print it also to some file simultaneously ?
e.g
if I "cat" file which do not exist, error is on screen,
I want to add that error to some file (errors.txt)
thank you
___
freebs