标签: linux shell
有没有办法禁用命令?
https://unix.stackexchange.com/questions/102484/what-is-the-point-of-the-yes-command
答案 0 :(得分:1)
让您的脚本期望除y(或yes输出之外的其他内容(确认)
y
yes
但同样,用户可以编写一个输出脚本所需内容的实用程序。