从手册页:
locate reads one or more databases prepared by updatedb(8) and writes
file names matching at least one of the PATTERNs to standard output,
one per line.
Run Code Online (Sandbox Code Playgroud)
updatedb以 root 身份运行并重试。它应该工作。
或者,您可以使用findor find | grep,它不使用数据库(因此速度相当慢)。
| 归档时间: |
|
| 查看次数: |
7030 次 |
| 最近记录: |