测试文档 test.list a b c d 脚本内容 test_read.sh #! /uar/bin/sh for i in ` cat test.list `; do echo ====== read $i ====== done 记得给test_read.sh赋权限 chomd +755 test_read.sh 最后,执行脚本 sh test_read.sh