I've written a few scripts that could be much shorter if I am able to pass the contents of a data file to the script.
In short, I have a data file (servers.txt) which contains a list of my servers. One server per line.
I have a script which needs this data. How can I pass one server name to the script at a time?
Thanks in advance..