Tagged Questions
1
vote
3answers
465 views
Execute a command on multiple hosts, but only print command if it is successful?
Here's what I want to do.
I want to check over 100 hosts and see if a file exists on that host. If the file does exist, then I want to print the hostname and the output of the command.
In this ...