...

/

Searching in Bash

Searching in Bash

How to search files and directories based on various attributes, using different methods. Moreover, this lesson encompasses the ways to search for files based on their contents and patterns.

We'll cover the following...

locate

Definition:

The command locate is a quick way to search for the locations of files and directories.

Syntax:

locate [options] name(s)

Options:

Option Description
-q To suppress error messages, such as those that might be returned in the event that the user does not have permission to access designated files or directories.
...