linux shell 自动输入y/yes

来源:互联网 发布:程序员女神 赵洁琼 编辑:程序博客网 时间:2024/06/09 22:27
echo y | rm -i a.txt
0 0