随笔分类 -  Shell脚本

摘要:#!/bin/sh cat >/etc/profile echo "export JRE_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.99.x86_64/jre" >>/etc/profile if [ $? -eq 0 ];then echo "install jdk successfully" fi #disable UseDNS sed... 阅读全文
posted @ 2016-11-24 15:36 梦轻尘 阅读(352) 评论(0) 推荐(0)