10.5.17.3
10.5.17.4
10.5.17.5
#!/usr/bin/bash
filename="/scripts/resources/nginx_nodes_list.txt"
while read -r line
do
NodeIP=$line
echo "server $NodeIP {" >> /scripts/testloop.txt
done < "$filename"
meaning the scipt skips the last one, any idea why?
server 10.5.17.3 {
server 10.5.17.4 {
Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.
”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.
Our community of experts have been thoroughly vetted for their expertise and industry experience.