shell select
来源:互联网 发布:mysql不显示重复数据 编辑:程序博客网 时间:2024/05/21 08:49
[omc@rocca shuai]$ cat select.sh
#!/bin/sh
echo "What is your favourite OS?"
select var in "Linux" "Gnu Hurd" "Free BSD" "Other"; do
break;
done
echo "You have selected $var"
#!/bin/sh
echo "What is your favourite OS?"
select var in "Linux" "Gnu Hurd" "Free BSD" "Other"; do
break;
done
echo "You have selected $var"
[omc@rocca shuai]$
========================================================
[omc@rocca shuai]$ sh select.sh
What is your favourite OS?
1) Linux
2) Gnu Hurd
3) Free BSD
4) Other
#? 1
You have selected Linux
[omc@rocca shuai]$
- shell -select
- shell select
- shell变成--select语句
- shell:select 用法
- shell select 语句
- shell select: not found
- shell select用法示例
- Shell编程中select用法
- shell——select (说明和select:not found)
- shell实例(十一) ----循环,select结构
- [Linux] shell select 语句 [大三TJB_708]
- select,poll,epoll区别 分类: Linux/Shell
- Bash Shell 流程控制 —— select
- shell if case while select for
- shell编程——select语句
- shell 练习(function,case,for,select)
- shell——for&while&select
- shell join 实现 sql Select 语句
- REST总结
- Davicom公司DM9000A和DM9010 ISA NIC 以太网驱动分析
- 80端口被system占用的问题
- C#和内存指针
- Fedora11环境下rpm包的安装
- shell select
- Facebook被指抄袭Friendthem 或吃官司
- RTthread erx 线程死掉了啊
- oracle 时间类型
- android电源管理
- C#中调用Windows API的要点
- 使用Shell脚本对Linux系统和进程资源进行监控
- C程序运行
- openssl + apache + mod_ssl安装配置调试过程