Saturday, April 27, 2013

Check if package is installed in Ubuntu/Debian/Mint

Check if package dkms is installed:

$: dpkg -s dkms


Reference(s):
http://www.cyberciti.biz/faq/find-out-if-package-is-installed-in-linux/


Sunday, April 14, 2013

Delete files in a directory that is older than specified

Delete all files in C:\temp which was older than 04/14/2013.
c:\temp> forfiles /D -04/13/2013 -c "cmd /c rmdir /s /q @file"