|
a question
I was experimenting with redirection. Manual says
>&digit --> standard output is redirected to the file descriptor digit
I tried
exec 3>myout
exec >&3
This sent all the output to myout. Nothing was coming on the screen. I was thinking duplication will result in output similar to what tee gives. Am I wrong in understanding?
One more thing. Once I have redirected this to 3, How do I disable it or how do I redirect the output back to screen again.
|