也许,时间见过我们
摘要: 脚本 判断子字符串包含关系: =~ a=`cat /proc/version` b="arwin" c="entos" d="buntu" if [[ $a =~ $b ]];then echo "mac" elif [[ $a =~ $c ]];then echo "centos" elif [[ 阅读全文
posted @ 2022-02-08 10:31 画入新雪 阅读(462) 评论(0) 推荐(0) 编辑

Copyright ©2017 画入新雪