Advanced File Searching Techniques

the linux command line chapter 17 searching n.w
1 / 9
Embed
Share

Learn about the locate command for rapid database searches, the find command for searching directories based on attributes, file type testing using -type, filtering files by size with -size option, additional tests supported by find, and logical operators for refining search criteria.

  • File Searching
  • Linux Commands
  • Locate Command
  • Find Command
  • Advanced Techniques

Uploaded on | 0 Views


Download Presentation

Please find below an Image/Link to download the presentation.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.

You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.

The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.

E N D

Presentation Transcript


  1. The Linux Command Line Chapter 17 Searching for Files Prepared by Dr. Reyes, New York City College of Technology

  2. locate Command locate command that performs a rapid database search of pathnames, and outputs every name that matches a given substring. Example: Example:

  3. find Command find command used to search a given directory (and its subdirectories) for files based on a variety of attributes. Example:

  4. Using type -type used to perform a test and return certain file types according to the following table:

  5. Examples using -type Example that only look at directories: Example that only look at regular files

  6. find -size -size an option that allows you to search for files based on their size according to the following table: Example:

  7. Other tests supported by find

  8. find Logical Operators

Related


More Related Content