Module: Pipes and Redirection

Learning Outcomes

How can I combine existing commands to do new things?

To answer this question you will learn to:

  1. Redirect a command’s output to a file.

  2. Process a file instead of keyboard input using redirection.

  3. Construct command pipelines with two or more stages.

  4. Explain what usually happens if a program or pipeline isn’t given any input to process.

  5. Explain Unix’s ‘small pieces, loosely joined’ philosophy.

Readings

Assessments

Pipes and Redirection Quiz

Interactive