⇤ ← Revision 1 as of 2012-07-16 13:54:07
1175
Comment: Stub article with links.
|
← Revision 2 as of 2023-07-19 20:56:29 ⇥
1306
replaced bash-hackers URLs with Wayback Machine versions
|
Deletions are marked like this. | Additions are marked like this. |
Line 6: | Line 6: |
* [[http://wiki.bash-hackers.org/howto/redirection_tutorial|Illustrated redirection tutorial]] (recommended), [[http://wiki.bash-hackers.org/syntax/redirection|redirection reference]], and [[http://wiki.bash-hackers.org/scripting/copydescriptor|understanding the copy descriptor]] on the bash-hackers wiki. | * [[https://web.archive.org/web/20230412163832/https://wiki.bash-hackers.org/howto/redirection_tutorial|Illustrated redirection tutorial]] (recommended), [[https://web.archive.org/web/20230326220915/http://wiki.bash-hackers.org/syntax/redirection|redirection reference]], and [[https://web.archive.org/web/20230208032810/https://wiki.bash-hackers.org/scripting/copydescriptor|understanding the copy descriptor]] on the bash-hackers wiki. |
Redirection
Redirection is the shell's mechanism for opening, closing, duplicating, and performing other manipulations on file descriptors. Redirection is either the last or second-to-last (depending on the shell and command) step of simple-command evaluation prior to running the command itself.
Links
Illustrated redirection tutorial (recommended), redirection reference, and understanding the copy descriptor on the bash-hackers wiki.
The Bash manual includes complete documentation. A quick reference is available on the BashSheet.
FAQ 55 provides a basic introduction, and the BashGuide has a very short non-technical introduction.
The portable types of redirects are specified by POSIX