Moving information

Chapter 5 of 6 · 5 lessons

Streams, redirection, pipelines, and process environments describe how commands exchange data and configuration. Examples assume a POSIX-style Linux shell and Python 3 where shown. Use a new empty disposable working directory for file-writing examples.

Use the fresh subdirectory procedure for each file-writing lesson.

Lessons

  1. Programs and their streams
  2. Redirecting output and input
  3. Connecting commands with pipes
  4. Shell variables and quoting
  5. The environment of a process