bash - How can I direct output from a program to the console and a log file at same time? -
How can I print output for the terminal and file at the same time?
$ Pearl Foo.PL> Foout.txt
does not allow me to see the live process.
Is there any way that I can see the output process in real time and finally output the screen on a file?
perl foo.pl |
Foout.txt
Comments
Post a Comment