1

How to create a shell script to read a foldername from a text file and go to the folder?

view story
linux-howto

http://www.unix.com – Hi, I am trying to write a shell script which can read folder names from a text file and then go to the folder and picks up a xml file and write on my sipp script so that I can run the sipp script. For example: I have a text file called thelist.txt where I have provided all the folders name in which I have kept xml files for different purposes. I want to write a shell script which can read the text file and then go to individual folders and picks up the xml file and write it into a sipp command. It should be done 1000 times if I have 1000 names in the text files and I want to execute the (HowTos)