当前位置:网站首页>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 
边栏推荐
- Mysql主从同步及主从同步延迟解决方案
- SAP report development steps
- AQS唤醒线程的时候为什么从后向前遍历,我懂了
- Simulation of future air pollution changes
- [weekly translation go] how to write your first program with go
- [pytorch] install torch 1.8.1 and check whether torch version and GPU are available
- JVM Lecture 2: class loading mechanism
- Nacos 介绍和部署
- Embedded sharing collection 21
- ALV program collection
猜你喜欢

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

Recommendation system - machine learning

使用Ansible中的playbook

Mysql优化

新导则下的防洪评价报告编制方法及洪水建模

SAP报表开发步骤

Learn to map with nature medicine -- complex heat map

Okaleido上线聚变Mining模式,OKA通证当下产出的唯一方式

DOM event flow event bubble event capture event delegate

嵌入式分享合集21
随机推荐
推荐12个免费查找文献的学术网站,建议点赞、收藏!
ThreadLocal transfer between parent and child threads in asynchronous
Axi protocol (4): signals on the Axi channel
security权限管理详解
[weekly translation go] how to write your first program with go
Your understanding of the "happen before principle" may be wrong?
NPM operation instruction
JVM Lecture 6: how to solve the frequent FGC in online environment?
Migrate the server and reconfigure the database (the database has no monitoring, and the monitoring starts with tns-12545, tns-12560, tns-00515 errors)
Getting started with ALV
Trend of the times - the rise of cloud native databases
Security permission management details
关于负数表示的数值为什么比整数大1?
MySQL master-slave synchronization and master-slave synchronization delay solution
Axi protocol (5): burst mechanism of Axi protocol
ALV report flow diagram
[Luogu] p3919 [template] persistent segment tree 1 (persistent array)
域名解析过程全分析,就着文字理解更佳
C语言-指针进阶
unity场景跳转脚本