摘要: *通配符匹配 #!/bin/bash version=$(cat /etc/redhat-release |awk '{print $4}') echo $version if [[ $version == 8 ]]; then echo "包含" else echo "不包含" fi ` 阅读全文
posted @ 2020-07-21 16:50 WH·xiao 阅读(905) 评论(0) 推荐(0) 编辑