太棒了,我在Man页面中得到了答案.您可以使用其中一个变量禁用这些内容.
安全性当环境变量LESSSECURE设置为1时,较少以"安全"模式运行.这意味着这些功能被禁用:
! the shell command
| the pipe command
:e the examine command.
v the editing command
s -o log files
-k use of lesskey files
-t use of tags files
metacharacters in filenames, such as *
filename completion (TAB, ^L)
Less can also be compiled to be permanently in "secure" mode.
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1098 次 |
| 最近记录: |