Project

General

Profile

Sandbox » History » Version 2

« Previous - Version 2/6 (diff) - Next » - Current version
Agustí Moll Garcia, 07/11/2011 10:10 PM


Xapucillas...

for i in `cut -f 1 -d ` ` /proc/net/vlan/config|grep vlan`; do vconfig rem $i; done

Passar a host

for i in $(bmx6 -c --originators |grep -v ^globalId|grep -v ^originators|cut -f 1 -d ` `|cut -f 1 -d `.`); do echo $(bmx6 -c --originators |grep $i|cut -f 9 -d ` `) $i >>/etc/hosts; done