当前位置:网站首页>Shell read read console input, use of read
Shell read read console input, use of read
2022-07-26 05:12:00 【Redamancy06】
1.read Read console input
1.1 Basic grammar
read ( Options ) ( Parameters )
① Options :
- -p: Specify the prompt when reading the value ;
- -t: Specifies the time to wait while reading the value ( second ) If -t Not adding means waiting
② Parameters
- Variable : Specifies the variable name of the read value
1.2read Use



If the set time is exceeded , Then skip directly 
边栏推荐
猜你喜欢

第二讲 初识SLAM
![[pytorch] install torch 1.8.1 and check whether torch version and GPU are available](/img/97/078c72729a29675939a84895b5ab86.png)
[pytorch] install torch 1.8.1 and check whether torch version and GPU are available

Please elaborate on the implementation principle of synchronized and related locks

no networks found in /etc/cni/net.d

LeetCode链表问题——203.移除链表元素(一题一文学会链表)

黑吃黑?男子破解赌博网站漏洞,每月“薅羊毛”10多万元

ALV程序收集
![[acwing] 2983. Toys](/img/e4/f71949a00ae604703d2b39bffb7c80.png)
[acwing] 2983. Toys

Full analysis of domain name resolution process means better text understanding

AQS唤醒线程的时候为什么从后向前遍历,我懂了
随机推荐
An online accident, I suddenly realized the essence of asynchrony
如何优雅的复现YOLOv5官方历程(二)——标注并训练自己的数据集
注解@Autowired如何自动装配
MySQL eight knowledge points: from getting started to deleting the database
[weekly translation go] how to write your first program with go
基于R语言的Meta分析【全流程、不确定性分析】方法与Meta机器学习
Shell流程控制(重点)、if 判断、case 语句、let用法、for 循环中有for (( 初始值;循环控制条件;变量变化 ))和for 变量 in 值 1 值 2 值 3… 、while 循环
【ACWing】2983. 玩具
关于负数表示的数值为什么比整数大1?
Seata两阶段提交AT详解
When AQS wakes up the thread, I understand why it traverses from the back to the front
Install nccl \ mpirun \ horovod \ NVIDIA tensorflow (3090ti)
五个维度着手MySQL的优化,我和面试官都聊嗨了
Security permission management details
普林斯顿微积分读本02第一章--函数的复合、奇偶函数、函数图像
Full analysis of domain name resolution process means better text understanding
Redis过期删除策略和内存淘汰策略
Mysql主从同步及主从同步延迟解决方案
Improve reduce parallelism in shuffle operation
ThreadLocal transfer between parent and child threads in asynchronous