.profile
filelist.txt
file1.txt file2.txt file3.txt ...
while read line; do echo $line; done < filelist.txt
cat filelist.txt
while read line; do ls -l $line; done < filelist.txt
backup
mkdir -p backup; while read line; do cp $line backup/; done < filelist.txt
#!/bin/sh while read line; do some_command_with $line done <$file
: No such file or directory : No such file or directory : No such file or directory
perl -pi -e 's/\r\n/\n/g' filelist.txt