sed with multiple criteria

sed -e 1d -e 50d -e ‘/junks/d’ would remove first and 50th line & any line(s) with the word “junks”. update 20080821 : sed -e ‘/^$/d’ would remove every empty line

freebsd port update, monitor outdated port with portsnap

we have about 15 freebsd servers with us, ranging from freebsd 4.7 to freebsd 7. most of the server need to be patched regularly, except servers that are not accessible from public network. one of the method we use to…