locate
command is similar in function to find -name
, but much faster than find
.
Syntax format: locate [parameter] [file]
Common parameters:
Example
locate /etc/em
This article is reprinted from https://xugaoxiang.com/2022/06/19/linux-cmds-64-locate/
This site is for inclusion only, and the copyright belongs to the original author.