Example 1 :
#!/bin/bash
while read line
do
echo $line
done < yourfileinputpath.txt
Example 2:
#!/bin/bash
for line in `cat yourfileinputpath.txt`
do
echo $line
done
Example 1 :
#!/bin/bash
while read line
do
echo $line
done < yourfileinputpath.txt
Example 2:
#!/bin/bash
for line in `cat yourfileinputpath.txt`
do
echo $line
done