i want to ssh to multiple servers and do exactly the same thing on every server -replace a certain line in a ascii text file and add a new line. for the purpose of the examples sake assume the line start with sorbone then remove the line and add a line where th
so something like
hosts=host1,host2,host3,host4,host5 (list doesn't have to be like this)
for h in $hosts; do grep "^$remove" then delete it and add new line
Appreciate your help so much with this one.