Bash script ignoring command on for loop -


i'm running basic loop bash script logs multiple linux boxes execute script , after script logs out of every box, wait 60 seconds. problem script not applying command within script.

#!/bin/bash in `cat test.txt`;  ssh -a -t -o userknownhostsfile=/dev/null -o stricthostkeychecking=no -o batchmode=yes -o connecttimeout=5 $i "sudo puppet agent -t & "; sleep 60; done 


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

c - Unrecognised emulation mode: elf_i386 on MinGW32 -