Scenario #9

Name: Errors only

Description:

  • The program myapp logs all error messages to STDERR and everything else to STDOUT.
  • You are only interested in the error messages, so ignore all other messages.
  • myapp is a binary file so its code can't be modified.

Tasks:

  • Run the program myapp saving all messages logged to STDERR in a file named /home/lab/errors.log and ignoring all messages logged to STDOUT.

Level: Beginner

Estimated duration: 15min

Access: Signup required

Tags: Linux

Scenarios