1, Command introduction:
Locate is used to find files, which are found in the system's database, so it is very fast.
2. Command format:
Locate [option] mode---The pattern here is the expression
3. Command parameters:
-E will be excluded from the scope of the search.
-1 if it is 1. The security mode is started. In safe mode, the user does not see files that the permissions cannot see. This slows down because the locate must get access to the file in the actual file system.
-F excludes specific file systems, for example, we have no reason to put the files in the proc file system in the database.
-Q Quiet mode, no error message is displayed.
-N displays at most x outputs.
-R uses the normal arithmetic to do the searching condition.
-o Specifies the name of the data inventory.
-d Specifies the path of the repository
-H Display Auxiliary message
-V Displays the version message of the program
Linux command: Locate