List Files Like a Pro

Find hidden files and navigate directory structures using ls flags.

A beginner Linux challenge worth 3 points. Solve it hands-on in a real Linux environment in your browser - no local setup, no fake shells.

The Challenge

Scenario: You just joined a startup as a Junior SRE. Your team lead sent you a message:

"Hey, check the web root — someone may have left credentials in a hidden file. The directory is /tmp/webroot. Find the .api_key file and write its contents to /tmp/answer.txt"

Your tasks:

  1. Navigate to /tmp/webroot
  2. List ALL files including hidden ones (files starting with .)
  3. Find the hidden .api_key file
  4. Write the file contents to /tmp/answer.txt

Tip: Run check when done to validate.