Mittwoch, 9. Dezember 2009

ex: /foo/,/bar/d ---delete lines starting with the first occurance of foo through to the nex occurance of bar

ex: /gaga/+d ---delete a line below the first line containing 'gaga'. It is the same as /gaga/+1d

IPADDR_START ..

/etc/sysconfig/network-scripts/ifcfg-eth0-range0
IPADDR_START=192.168.0.100
IPADDR_END=192.168.0.200
CLONENUM_START=1 ---it can be any number. The devices will be numbered starting from it, e.g. if CLONENUM_START=5, then the first will be eth0:5.