摘要: shell中source sh exec的区别 source conf.sh 是直接运行conf.sh的命令,不创建子shell,类似于include sh conf.sh 是创建子shell,子shell里面的变量父shell无法使用,对环境变量的修改也不影响父shell。父shell中的局部变量 阅读全文
posted @ 2019-05-21 20:04 琅琊散人 阅读(114) 评论(0) 推荐(0) 编辑
摘要: suse版本 suse版本之间差距还是有的,在suse12.2跑的脚本没有问题,到suse12.4上就出现问题了。 centos版本 `cat /etc/redhat release` 阅读全文
posted @ 2019-05-21 16:36 琅琊散人 阅读(142) 评论(0) 推荐(0) 编辑