循环 for 读取文件

cat filename(待读取的文件) | while read line
do
  echo $line
done

 

 

 

 

posted @ 2019-12-16 17:16  酸奶加绿茶  阅读(841)  评论(0编辑  收藏  举报