Linux Conquering Cloud
Learn .. Conquer .. Share
Pages
Home
About me
Wednesday, June 26, 2013
Read File using Shell Script
Read File using Shell Script
#!/bin/bashFILENAME=”filename.txt”exec 0< $FILENAMEwhile read LINEdo echo $LINEdone
#!/bin/bash
FILENAME=”filename.txt”
exec 0< $FILENAME
while read LINE
do
echo $LINE
done
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment