j
k
j a
j l
Now, I want to redirect the STDOUT and STDERR of the running background process to some files , say r1.txt r r2.txt without stopping or affecting the process.
You can do the following: ./prog >r1.txt 2>r2.txt &
Back to the thread
Back to the list