I/O Redirection
- Table of Contents
- 1. Using exec
- 2. Redirecting Code Blocks
- 3. Applications
There are always three default "files" open, stdin (the keyboard), stdout (the screen), and stderr (error messages output to the screen). These, and any other open files, can be redirected. Redirection simply means capturing output from a file, command, program, script, or even code block within a script and sending it as input to another file, command, program, or script.




