guides:software:redirection
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
guides:software:redirection [2020/08/16 22:37] – [An Example] wikiadmin | guides:software:redirection [2024/07/25 15:01] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 2: | Line 2: | ||
I/O redirection is part of most shell systems. | I/O redirection is part of most shell systems. | ||
+ | |||
+ | ===== Quick Reference ===== | ||
+ | |||
+ | To redirect the standard input to the program hello from the file queenName: | ||
+ | < | ||
+ | $ hello < queenName | ||
+ | </ | ||
+ | |||
+ | To redirect the standard output of the program hello to the file outfile | ||
+ | < | ||
+ | $ hello > outfile | ||
+ | </ | ||
+ | |||
===== An Example ===== | ===== An Example ===== |
guides/software/redirection.1597617442.txt.gz · Last modified: 2024/07/25 15:01 (external edit)