Organize the Chaos

Use cp, mv, rm, mkdir to organize a messy directory left by the previous admin.

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: The previous sysadmin left the server in a mess. /tmp/messy/ has files scattered everywhere with no structure.

Your tasks:

  1. Create the directory structure:
  1. Move all .jpg and .png files → /tmp/organized/images/
  2. Move all .log files → /tmp/organized/logs/
  3. Move all .conf files → /tmp/organized/configs/
  4. Delete all .tmp files from /tmp/messy/
  5. Create an empty marker file: /tmp/organized/.gitkeep

Commands to learn: mkdir -p, mv, cp, rm, touch

Run check when done.