for loop inside for loop ...double for loop

for  A in `cat KVMserverlist.txt`;do for B in `echo $A; ssh -l root $A virsh list --all | cut -d "_" -f3` ;do echo $B;done ;done | grep ^9


for  A in `cat KVMserverlist.txt`; do echo $A;ssh -l root $A virsh list --all;done

Comments

Popular posts from this blog

How to delete SEA in VIOS

More VIOS commands

Webmin configuration for LDAP