Hi guys
Here's my code :
The first loop is fine, but the second loop didnt work fine, It just read the first line. So could you guys help me why ?
Thx guys,
Here's my code :
Code:
while read line
do
echo "$line\tPROD\t$number"
done < list1
while read line
do
ssh ypdrp01 echo "$line\tDRP\t$number"
done < list1
The first loop is fine, but the second loop didnt work fine, It just read the first line. So could you guys help me why ?
Thx guys,