1) ls > fileName
2) while read line ;
do
echo $ line
done < fileName
https://stackoverflow.com/questions/1521462/looping-through-the-content-of-a-file-in-bash
2) while read line ;
do
echo $ line
done < fileName
https://stackoverflow.com/questions/1521462/looping-through-the-content-of-a-file-in-bash
No comments:
Post a Comment