I have a text file with various IP addresses.
I would like to cycle through each, and issue a command:
cat ips.txt | xargs -L 1 `ssh me@__IP__ echo "text" > file; reboot;`
But I'm unsure how to pass the xargs value to _IP_.
Could someone explain how this could be accomplished?