User Tools

Site Tools


guides:software:redirection

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
guides:software:redirection [2020/08/16 22:37] – [An Example] wikiadminguides: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.  This process allows the user to enter data into a program from a file instead of the keyboard, or send the output of a program to a file instead of the screen. I/O redirection is part of most shell systems.  This process allows the user to enter data into a program from a file instead of the keyboard, or send the output of a program to a file instead of the screen.
 +
 +===== Quick Reference =====
 +
 +To redirect the standard input to the program hello from the file queenName:
 +<code>
 +$ hello < queenName
 +</code>
 +
 +To redirect the standard output of the program hello to the file outfile
 +<code>
 +$ hello > outfile
 +</code>
 +
  
 ===== An Example =====  ===== An Example ===== 
guides/software/redirection.1597617442.txt.gz · Last modified: 2024/07/25 15:01 (external edit)