这是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