EveryOne, I am new in Linux & very much interested to write shell scripts. This time I am making a excel sheet. In that excel sheet there will be S.No. in 1st column & Domain names in second column. There are 100 of domains in my excel sheet. So, I do not want to manually copy every domain & paste them into browser to check all. I simply want to write a shell script which can open all the domains into browser by running the single shell script. Please help me out. I will be very grateful to you.
Thanks & Regards- Reetesh Chauhan
xls2csv
will get your xls file into a CSV format.Pipe that to
sed
to remove the double-quotes.Use
while
to iterate over each line.echo
each line (l
) toawk
to get the second ($2
) column into the$d
(for domain) variable.Then send that to browser. You can replace
lynx
with your favorite browser. A GUI browser will work as easily as a TUI one.you can use samples: help1 help2 help3
you can use
perl
:and
python
as well: