Hunt Down the Files

Use find with -name, -size, -mtime to locate files across a directory tree.

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: A config was accidentally deleted somewhere in /tmp/configs/ and old log files are taking up space.

Your tasks:

  1. Find all files with .conf extension under /tmp/configs/ → save paths to /tmp/conf_files.txt
  2. Find all .log files larger than 10KB anywhere in /tmp/configs/ → save paths to /tmp/large_logs.txt
  3. Find files modified in the last 1 day in /tmp/configs/ → save paths to /tmp/recent_files.txt

Commands to learn: find -name, find -size, find -mtime, find -type f

Run check when done.