影响shell编程的内置命令介绍:
1、true
2、false
3、exit
4、break
5、continue
6、shift
我们挑几个常用的来演示一下效果:
exit :退出
看到效果呢,就是你输入什么,就是什么,不会循环。
continue :跳过
break :打破
shift :
1 通过循环脚本,输出如下效果。
A123456789
B123456789
…
D123456789
影响shell编程的内置命令
最新推荐文章于 2024-07-11 00:00:00 发布