Shell脚本自动提示对一切都是肯定的

Dan*_*iel 0 scripting shell

如何在 shell 脚本中运行命令自动提示 yes 提示使用,以便我可以自动化脚本?

Gar*_*ton 5

您可以使用yes二进制文件。