add new chinese translations
This commit is contained in:
16
pages.zh/linux/locate.md
Normal file
16
pages.zh/linux/locate.md
Normal file
@@ -0,0 +1,16 @@
|
||||
# locate
|
||||
|
||||
> 快速查找文件名。
|
||||
> 更多信息:<https://manned.org/locate>。
|
||||
|
||||
- 在数据库中查找模式。注意:数据库会定期重新计算(通常是每周或每天):
|
||||
|
||||
`locate {{pattern}}`
|
||||
|
||||
- 按确切文件名查找文件(不包含通配符字符的模式被解释为 `*pattern*`):
|
||||
|
||||
`locate '*/{{filename}}'`
|
||||
|
||||
- 重新计算数据库。如果您想找到最近添加的文件,您需要执行此操作:
|
||||
|
||||
`sudo updatedb`
|
Reference in New Issue
Block a user