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

1次阅读

共计 56 个字符,预计需要花费 1 分钟才能阅读完成。

比如 rm 这个命令禁止在 console 中直接调用 rm tmp,但是如果在 test.sh 中存在 rm tmp 不影响其功能。

正文完
 0