shell读取终端数据

来源:互联网 发布:606写卡器安装软件 编辑:程序博客网 时间:2024/05/30 13:41

小例子:

#!/bin/bash
clear
ls
#读写输入数据
read variable
echo $variable

0 0
原创粉丝点击