Monthly Archives: October 2013

Using wget with given IP/vhost

This is one neat trick. For vhosts you can connect with an IP yet provide the right host name with the following: wget http://1.1.1.1/ –header ‘Host: www.example.com’

Posted in Web | Tagged , , , | Leave a comment

UNIX find with dates

-atime/-ctime/-mtime the last time a files’s access time, file status and modification time, measured in days or minutes. Time interval in options -ctime, -mtime and -atime is an integer with optional sign. n: If the integer n does not have … Continue reading

Posted in Linux | Tagged , , , | Leave a comment

Enable local file caching for NFS share on Linux

In Linux, there is a caching filesystem called FS-Cache which enables file caching for network file systems such as NFS. FS-Cache is built into the Linux kernel 2.6.30 and higher. In order for FS-Cache to operate, it needs cache back-end … Continue reading

Posted in Linux | Tagged , , | Leave a comment