in reply to df -h script to 10 servers and append the printout into one file

Congratulations, you have won the following dirty one-liner as part of the monastery pre Black Friday give away!!!
perl -e 'system(qq(ssh $_ "hostname && df -h")) for @ARGV' host1 host2 + host3 ...
  • Comment on Re: df -h script to 10 servers and append the printout into one file
  • Download Code