Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Filter by Categories
Accounts
Articles / Notes
Biology
Chemistry
Computer Class
Daily Current Affairs
English
General Knowledge
History
Indian Law
Interview Questions
Mathematics
Muft Shiksha - Free Education
Science

How to Search For a File in Ubuntu 22.04 or 20.04 Terminal

0

Seach files using the ‘find’ Command

The ‘find’ command is by default available on all Ubuntu Linux systems to search for files directly in the terminal. We can even define different criteria such as name, type, size, and modification time.

To use it either switch to the directory where the file you want to search is located or declare the path where you want the “find” command to search for it.

For example:

To search in the current directory

find -name you-file-name

Deepak Goel Answered question 8 Jul, 2023
Join for Teach