i o redirection

Q. I’ve written a small program that does something useful for me. I always get output on screen. Sometime I need to send output to a file. How do I print output of my program to a file w/o making any changes to code? A. Bash shell (and many other modern UNIX shell) supports the […]