Shell 中的case esac语句

2024-10-13 03:51:04

1、case 语句匹配一个值或一个模式,如果匹配成功,执行相匹配的命令。case语句格式如下:

Shell 中的case esac语句

4、运行结果

Shell 中的case esac语句

6、运行结果

Shell 中的case esac语句

8、运行结果

Shell 中的case esac语句
猜你喜欢