标签:命令 for fine span -- grep logs done color
for i in $(virsh -c lxc:/// list | grep -v ‘Id‘ | awk ‘{print $2}‘);do virsh -c lxc:/// destroy ${i};done
for i in $(virsh -c lxc:/// list --all | grep -v ‘Id‘ | awk ‘{print $2}‘);do virsh -c lxc:/// undefine ${i};done
标签:命令 for fine span -- grep logs done color
原文地址:http://www.cnblogs.com/nihaorz/p/7722911.html