Redirect output to file
Posted
by Algorist
on Stack Overflow
See other posts from Stack Overflow
or by Algorist
Published on 2010-03-27T02:36:18Z
Indexed on
2010/03/27
2:43 UTC
Read the original article
Hit count: 572
Hi,
I have a shell script which is currently running and was running from past 8 hours. It will complete only by tomorrow evening. At the end of the program, it will print 2 million words to standard output. I am running the program on the screen. I forgot to redirect the output to a file. I know I won't be able to copy the data from the window. Is there a way to output the command to a file. I don't want to restart the program.
Any thoughts??
Thank you.
Bala
© Stack Overflow or respective owner