JavaShuo
栏目
标签
【shell】How can I create a select menu in a shell script?
时间 2021-01-03
标签
Linux
栏目
Unix
繁體版
原文
原文链接
select in 循环用来增强交互性,它可以显示出带编号的菜单,用户输入不同的编号就可以选择不同的菜单,并执行不同的功能。 select in 是 Shell 独有的一种循环,非常适合终端(Terminal)这样的交互场景,C语言、C++、Java、Python、C# 等其它编程语言中是没有的。 #?用来提示用户输入菜单编号;^D表示按下 Ctrl+D 组合键,它的作用是结束 select
>>阅读原文<<
相关文章
1.
How to use ftp in a shell script
2.
How can I create a object for a note?
3.
如何在Shell脚本中声明和使用布尔变量? - How can I declare and use Boolean variables in a shell script?
4.
Passing arguments to a shell script
5.
How to use an ActiveX script task to create a loop in DTS
6.
Create a repo in githup
7.
How to Create a Class in Objective-C
8.
What can I do with a GridPanel in ExtJS
9.
continue — Skip to the next iteration of a loop in a shell script
10.
How can I initialize a double variable to infinity
更多相关文章...
•
Lua 文件 I/O
-
Lua 教程
•
ionic select
-
ionic 教程
•
Java 8 Stream 教程
•
Docker容器实战(七) - 容器眼光下的文件系统
相关标签/搜索
a'+'a
shell
a+aa+aaa+a...a
a+aa+aaa+...+aa..a
a#x#i#o#s
a+b
7q&a
a+1
a&user.age
Linux
Unix
0
分享到微博
分享到微信
分享到QQ
每日一句
每一个你不满意的现在,都有一个你没有努力的曾经。
最新文章
1.
css 让chrome支持小于12px的文字
2.
集合的一点小总结
3.
ejb
4.
Selenium WebDriver API
5.
人工智能基础,我的看法
6.
Non-local Neural及Self-attention
7.
Hbuilder 打开iOS真机调试操作
8.
improved open set domain adaptation with backpropagation 学习笔记
9.
Chrome插件 GitHub-Chart Commits3D直方图视图
10.
CISCO ASAv 9.15 - 体验思科上一代防火墙
本站公众号
欢迎关注本站公众号,获取更多信息
相关文章
1.
How to use ftp in a shell script
2.
How can I create a object for a note?
3.
如何在Shell脚本中声明和使用布尔变量? - How can I declare and use Boolean variables in a shell script?
4.
Passing arguments to a shell script
5.
How to use an ActiveX script task to create a loop in DTS
6.
Create a repo in githup
7.
How to Create a Class in Objective-C
8.
What can I do with a GridPanel in ExtJS
9.
continue — Skip to the next iteration of a loop in a shell script
10.
How can I initialize a double variable to infinity
>>更多相关文章<<