linux日常免交互汇总 yum免交互: yum install rpm-build << EOF y EOF echo y | yum install wget fdisk /dev/vdd << EOF n p 1 +10G n p 2 +20G n p 3 +10G wq EOF