convert epoch using date command
date -d ‘<Unix epoch> <epoch date> sec’
e.g. date -d ’1970-01-01 988822888 sec’ would dated “Wed May 2 17:31:28 MYT 2001″
20080430 :
get a particular date in epoch, e.g. date -d ‘Apr 30 2008 00:00:00′ ‘+%s’
date -d ‘<Unix epoch> <epoch date> sec’
e.g. date -d ’1970-01-01 988822888 sec’ would dated “Wed May 2 17:31:28 MYT 2001″
20080430 :
get a particular date in epoch, e.g. date -d ‘Apr 30 2008 00:00:00′ ‘+%s’
it’s proud to announce that this is the new RFC, RFC-WPJ8308, which only apply to myself or peers that work with me, it simply means that are you not following my standard!
On a FreeBSD server
1. reboot server
2. choose to boot into single user mode
3. mount -o rw <root partition> e.g. mount -o rw /
4. passwd <root account> e.g. passwd root
5. mount -o ro <root partition> e.g. mount -o ro /
6. reboot server again
Voila !!!
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 :
but not :
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.