This website requires JavaScript.
Explore
Help
Sign In
ctome
/
tldr
mirror of
https://github.com/CrimsonTome/tldr.git
Watch
1
Star
0
Fork
You've already forked tldr
0
Code
Issues
Packages
Projects
Releases
Wiki
Activity
c20b2b3d24
tldr
/
pages.zh
/
osx
/
locate.md
418 B
Raw
Blame
History
locate
快速查找文件名.
在数据库中查找关键字。注意:数据库定期重新更新(通常每周或每天):
locate {{关键字}}
按文件名查找文件(不包含填充字符的模式被解释为
*关键字*
):
locate */{{文件名}}
重新建立文件数据索引数据库.如果要查找最近添加的文件,则需要执行此操作:
sudo /usr/libexec/locate.updatedb