Categories
How to get links from a text file?
I have a text file where each new line contains one link. How can I get each link one by one using a shell script and execute the command I need with it?
Answer the question
In order to leave comments, you need to log in
for a in `cat links.txt`; do echo $a done
while read; do echo $REPLY done<links.txt
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question