shell编程_获取用户输入(read命令)
摘要:
read命令,read [options] 变量1 变量2... read从键盘、文件、管道获取值。 使用read命令从文件中获取数据 #! /bin/bash count=1 cat file | while read line do echo "Line: $count $line" count 阅读全文
posted @ 2021-06-20 20:48 XiaoXiaoli 阅读(175) 评论(0) 推荐(0)
浙公网安备 33010602011771号