duke28
Verified User
hi
i need to change all netmask of alias ip of 255.255.255.0 to 255.255.255.255
but i have so many ip
i try this :
cd /usr/local/directadmin/data/admin/ips
perl -pi -e 's/\255.255.255.0/\255.255.255.255/' *
but its modify nothing..
i see again 255.255.255.0 in the file of the ip.. in /usr/local/directadmin/data/admin/ips
weird..
what is not ok ?
i need to change all netmask of alias ip of 255.255.255.0 to 255.255.255.255
but i have so many ip
i try this :
cd /usr/local/directadmin/data/admin/ips
perl -pi -e 's/\255.255.255.0/\255.255.255.255/' *
but its modify nothing..
i see again 255.255.255.0 in the file of the ip.. in /usr/local/directadmin/data/admin/ips
weird..
what is not ok ?