dig <record type> <host.name> e.g dig SRV _someservice._port.hostname.domainame.com.my OR dig SRV _https._ICMP.host.takizo.com
e.g. rm -rf backup-20070[8-9]-* would delete : backup-200708-morning backup-200708-evening backup-200709-night backup-200709-latenight but not : backup-200706-morning backup-200707-afternoon backup-200711-midnight e.g. ls backup-20070[1-9] would list all backup starting from January to September but leave October, November & December out, of year 2007.
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
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…
specify the parameter “ServerAliveInterval 60” in /etc/ssh_config or /etc/ssh/ssh_config. for more info, man ssh_config
Recent Comments