摘要: 常用 shell 脚本记录 判断输入参数是否是合理参数 #!/bin/bash port= read -p "请输入 8184|8185: " port echo -e '\n' case $port in '8184' | '8185') echo $port;; *) echo "请输入 818 阅读全文
posted @ 2022-01-12 09:20 LiuChengloong 阅读(58) 评论(0) 推荐(0) 编辑