🧀 Learn Linux

进阶 · 让命令协作

read:从输入读取变量

语法

read [-r] 变量

示例

read -r name

使用说明与支持范围

仅供手册查阅

完整文档 ↗

同专题命令