Last updated 5 years ago
Was this helpful?
每一个完备的程序设计语言都可以对一个条件进行判断,然后根据判断结果执行相应的指令。Bash 拥有 命令,、 测试操作符以及 if/then 测试结构。
if/then
test