摘要: #!/bin/bash read -n 1 -p "是否已将httpd-2.2.17源码包放到root目录下,确认按Y" p # -n 1指定只能读入一个字符 test "$p" = "y" -o "$p" = "Y" if [ $? -eq 0 ] then rpm -qa | grep httpd rpm -e httpd --nod... 阅读全文
posted @ 2017-06-21 15:01 二勇的技术博客 阅读(651) 评论(0) 推荐(0) 编辑