Skip to content

Pipes and streams

routinepar 1 command

Separate the streams

Read one file that exists and one that does not. The error goes into errors.txt; the output stays on the terminal.

Goal

0 / 1 commands

Read a file that exists and one that does not, sending only the error into errors.txt and leaving the output on the terminal.

  • ·Uses cat
  • ·Puts the answer on standard output
$

The files in the sandbox, with their modes, link counts and sizes
ModeLinksSizeName
-rw-r--r--163notes.txt
-rw-r--r--197roster.md