当前位置:网站首页>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 
边栏推荐
- Textfield and password input box that are more flexible and easy to use in compose
- @Principle of Autowired annotation
- Ansible中常用的模块
- C语言力扣第41题之缺失的第一个正数。两种方法,预处理快排与原地哈希
- MySQL master-slave synchronization and master-slave synchronization delay solution
- Common solutions for distributed ID - take one
- List转换为tree-项目真实使用
- JVM第六讲:线上环境 FGC 频繁,如何解决?
- 开发转测试:从零开始的6年自动化之路
- 【Leetcode】493. Reverse Pairs
猜你喜欢

推荐系统-机器学习

推荐必读:测试人员如何快速熟悉新业务?

MySQL eight knowledge points: from getting started to deleting the database

普林斯顿微积分读本02第一章--函数的复合、奇偶函数、函数图像

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

五个维度着手MySQL的优化,我和面试官都聊嗨了

Week 6 Learning Representation: Word Embedding (symbolic →numeric)

Axi protocol (5): burst mechanism of Axi protocol

Date and time function of MySQL function summary
![Meta analysis [whole process, uncertainty analysis] method based on R language and meta machine learning](/img/87/9f8353c5c9c700eaa63f66697aa44a.png)
Meta analysis [whole process, uncertainty analysis] method based on R language and meta machine learning
随机推荐
Mysql主从同步及主从同步延迟解决方案
Test of countlaunch demo
JVM第六讲:线上环境 FGC 频繁,如何解决?
“双碳”目标下资源环境中的可计算一般均衡(CGE)模型实践技术
提高shuffle操作中的reduce并行度
Practical technology of SWAT Model in simulation of hydrology, water resources and non-point source pollution
公交站间的距离 : 简单模拟题
Excel VBA: summarize calculation output results by date (SUMIF)
Computable general equilibrium (CGE) model practice technology in resource environment under the goal of "double carbon"
Redis过期删除策略和内存淘汰策略
MySQL basic learning
Why is the value represented by a negative number greater than an integer by 1?
SWAT模型在水文水资源、面源污染模拟中的实践技术
Improve reduce parallelism in shuffle operation
嵌入式开发小记,实用小知识分享
Shell流程控制(重点)、if 判断、case 语句、let用法、for 循环中有for (( 初始值;循环控制条件;变量变化 ))和for 变量 in 值 1 值 2 值 3… 、while 循环
CountLaunch Demo的测试
Nacos registry
没背景、没学历?专科测试员进入互联网大厂是不是真的没希望?
AQS唤醒线程的时候为什么从后向前遍历,我懂了