Update locate.md
This commit is contained in:
parent
cecb0e1792
commit
99adf1000d
|
|
@ -23,10 +23,10 @@ locate [选择参数] [样式]
|
|||
### 选项
|
||||
|
||||
```
|
||||
-e 将排除在寻找的范围之外。
|
||||
-1 如果 是 1.则启动安全模式。在安全模式下,使用者不会看到权限无法看到 的档案。这会始速度减慢,因为 locate 必须至实际的档案系统中取得档案的 权限资料。
|
||||
-f 将特定的档案系统排除在外,例如我们没有到理要把 proc 档案系统中的档案 放在资料库中。
|
||||
-q 安静模式,不会显示任何错误讯息。
|
||||
-e 将排除在寻找的范围之外。
|
||||
-1 如果 是 1.则启动安全模式。在安全模式下,使用者不会看到权限无法看到 的档案。这会始速度减慢,因为 locate 必须至实际的档案系统中取得档案的 权限资料。
|
||||
-f 将特定的档案系统排除在外,例如我们没有到理要把 proc 档案系统中的档案 放在资料库中。
|
||||
-q 安静模式,不会显示任何错误讯息。
|
||||
-n 至多显示 n个输出。
|
||||
-r 使用正规运算式 做寻找的条件。
|
||||
-o 指定资料库存的名称。
|
||||
|
|
@ -79,4 +79,4 @@ root ~ # locate /etc/m
|
|||
/etc/mate-settings-daemon
|
||||
```
|
||||
|
||||
<!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ -->
|
||||
<!-- Linux命令行搜索引擎:https://jaywcjlove.github.io/linux-command/ -->
|
||||
|
|
|
|||
Loading…
Reference in New Issue