Linux Command-Line Fundamentals
Exit

Lesson 7 of 18 · User

Searching: find, grep and locate

35 min Rocky Linux 9

Objective

Find a lost file among thousands of folders, and find a line of text among thousands of files. Two tools, two different questions:

  • find answers: "where is the file that is named… / that weighs… / that was modified on…?"
  • grep answers: "which files contain this text, and on which line?"

This lesson is part of the full course

Unlock Linux Command-Line Fundamentals to read every lesson, do the exercises, access the simulations and earn your certificate.

Already enrolled? Log in.