标签:shell linux
这是shell逐行执行文件:
#!/bin/sh
filepath="/home/test/test.txt"
while read LINE
do
user=`echo $LINE | awk ‘{print $1}‘`
pwd=`echo $LINE | awk ‘{print $2}‘`
done <$filepath
标签:shell linux
原文地址:http://snaile.blog.51cto.com/8061810/1600117