I have a text file
Google.com
Youtube.com
Gmail.com
Yahoo.com
I am trying to open them with Lynx. Here is the thesis.
I will store all of those links at a txt file, say links.txt and then I need to open them with Lynx and then terminate Lynx by using kill.
Here the code I wrote but its not correct
for i in links.txt
do
lynx $i
sleep 10
pkill lynx
done
Whats wrong here?