User Tools

Site Tools


ops102: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
ops102:redirection [2024/05/03 22:24] – [File Redirection] chrisops102:redirection [2024/05/04 02:26] (current) – external edit 127.0.0.1
Line 112: Line 112:
 =====  Piping  ===== =====  Piping  =====
  
-Piping is a special case of redirection, where the output of one command is connected to the input of another command. This is set up using the vertical-bar (pipe) symbol: ''|'' (this may look like a solid or a dashed vertical line, depending on the terminal font in use).+Piping is a special case of redirection, where the output (stdout) of one command is connected to the input (stdin) of another command. This is set up using the vertical-bar (pipe) symbol: ''|'' (this may look like a solid or a dashed vertical line, depending on the terminal font in use).
  
 For example, on Windows, the output of the ''help'' command is more than one screen long. You could pipe the output of the ''help'' command into the input of the ''more'' command to view one screen of text at a time: For example, on Windows, the output of the ''help'' command is more than one screen long. You could pipe the output of the ''help'' command into the input of the ''more'' command to view one screen of text at a time:
ops102/redirection.1714775065.txt.gz · Last modified: 2024/05/04 02:24 (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki