Archive for February, 2012
RAID Calculator
http://www.ibeast.com/content/tools/RaidCalc/RaidCalc.asp http://www.icc-usa.com/raid-calculator.asp
bash shell tips for filenames
# remove empty files rm -f $(find . -empty) # change all filenames from upper to lower case rename ‘y/A-Z/a-z/’ * # change all filenames from spaces to underscores find -name “* *” -type f | rename ‘s/ /_/g’
lighttpd – enable or disable directory listing individually
Edit lighttpd.conf Note: You may also remove (|$|/) to allow a wildcard||| Enable directory listing for /foldername/ $HTTP[“url”] =~ “^/foldername(|$|/)|” { dir-listing.activate = “enable” } OR Disable directory listing for /foldername/ $HTTP[“url”] =~ “^/foldername(|$|/)|” {dir-listing.activate = “disable” } #Restart lighttpd $ /etc/init.d/lighttpd restart Source:http://www.cyberciti.biz/tips/howto-lighttpd-enable-disable-directory-listing.html