Lazo Lab Sign up

Linux & the Command Line / Power tools

Lesson 18 of 30

find

find searches for files by name, size, age or owner.

Key points

  • find . -name '*.py'
  • -mtime -1 means changed in the last day
  • -size +100M finds big files
find /home -name '*.log' -mtime -1
Watch a video on thisOpens YouTube search results for “find” in a new tab

Quiz · +10 XP

Which command searches for files by name?

Log in to save progress and earn XP.