Project

General

Profile

Sandbox » History » Version 2

Agustí Moll Garcia, 07/11/2011 10:10 PM

1 1 Agustí Moll Garcia
h1. Xapucillas...
2 1 Agustí Moll Garcia
3 1 Agustí Moll Garcia
for i in `cut -f 1 -d ` ` /proc/net/vlan/config|grep vlan`; do vconfig rem $i; done
4 2 Agustí Moll Garcia
5 2 Agustí Moll Garcia
h2. Passar a host
6 2 Agustí Moll Garcia
7 2 Agustí Moll Garcia
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