huyanchong 发表于 2012-12-26 15:20:19

centos.sh脚本问题

cp /etc/yum.conf /etc/yum.conf.lnmp
sed -i 's:exclude=.*:exclude=:g' /etc/yum.conf


get_char()
      {
      SAVEDSTTY=`stty -g`
      stty -echo
      stty cbreak
      dd if=/dev/tty bs=1 count=1 2> /dev/null
      stty -raw
      stty echo
      stty $SAVEDSTTY
      }
      echo ""

huyanchong 发表于 2012-12-26 15:24:23

谁能给解释下,这些是什么意思,不是脚本怎么替换的,,是系统层面这样做有什么意义
页: [1]
查看完整版本: centos.sh脚本问题