Akhilesh Suresh Shirbhate <akhilesh(a)it.iitb.ac.in> said:
Now, I want to redirect the STDOUT and STDERR of the
running background process to some files , say r1.txt
or r2.txt without stopping or affecting the process.
Places to look at
Bash Programming Howto -
http://www.tldp.org/HOWTO/Bash-Prog-Intro-
HOWTO.html#toc3
Advanced Bash Scripting Guide -
http://www.tldp.org/LDP/abs/html/io-
redirection.html
You should be able to take it forward from there :)