LPIC-1 101-500 Exam · Objective 103.4

Saving only standard error to a separate file

103.4Standard

The command below writes READY to standard output and WARN to standard error.

The standard-error redirection is applied before the pipe.

bash -c 'printf "READY\n"; printf "WARN\n" >&2' \
  2>errors.log | tee output.log

Which combination correctly describes the terminal and the two files?

Saving only standard error to a separate file · Answer choices
Question IDKP-103-004
EnvironmentUbuntu 24.04 / GNU tools
Last technical review2026-08-11
Report an error or rights issue
Progress and questions

Path & Pass is an independent learning site and is not affiliated with any certification body. Questions are original practice content based on published objectives.