怎么禁止直接调用命令,但是脚本中可以使用?

查看 5|回复 0
作者:nyxsonsleep   
比如 rm 这个命令禁止在 console 中直接调用 rm tmp ,但是如果在 test.sh 中存在 rm tmp 不影响其功能。
您需要登录后才可以回帖 登录 | 立即注册

返回顶部