Find the Lost Files
The archive directory is huge, with folders inside folders inside folders. Searching by hand would take forever. Use find.
How it works: the terminal below is a real Linux machine running in your browser. Click it and
type. Tasks tick themselves off as you complete them; questions are answered in the box under each task.
Press Reset any time for a fresh machine. Your password on this machine (for
sudo) is student.
Hints
Quote wildcard patterns: find archive -name "*.conf".
Solution explanation
find archive -name passport.pdf prints archive/2021/07/passport.pdf. find archive -name "*.conf" lists four files, and -size +1M finds video-call.mp4. -iname matches EMPTY even though you searched for empty.
Show solution
find archive -name passport.pdf
find archive -name "*.conf"
find archive -size +1M
cp archive/2021/07/passport.pdf ~
find archive -type d -iname empty