Archive for February, 2008

Find (and delete) Duplicate Files On Linux

Friday, February 29th, 2008

fdupes is a program for identifying/deleting duplicate files residing within specified directories.
How I typically use it to find duplicate files
fdupes -r -n -1 -S /path/of/directory/to/search/for/dups
How I typically use it to delete duplicate files. It will prompt you for which file to delete. You can preserve multiple files by using a comma separated list of values. [...]

How to Determine the Version of Your Linux Kernel

Friday, February 8th, 2008

type “uname -r” into a terminal window

John McCain “Intends” To Do A Lot As President

Thursday, February 7th, 2008

While listening to John McCain’s speech to CPAC, I couldn’t help but notice how many times he used the word “intend”. The word “intend”, seems very soft, and leads me to believe that he chose this word as a potential way out of keeping his promises and obligations to our country.

I intended no personal [...]

How To Clear A Terminal Screen on Linux

Monday, February 4th, 2008

Type “clear”
References
http://linux.die.net/man/1/clear

Using grep To Search For Files Containing Certian Text

Monday, February 4th, 2008

grep -lir “some text” *
-l switch outputs only the names of files in which the text occurs (instead of each line containing the text)
-i switch ignores the case
-r descends into subdirectories
References
http://www.itexpert.cz/linux-find-files-text/

Programming

Friday, February 1st, 2008

Design Patterns
http://sourcemaking.com/design_patterns
http://www.dofactory.com/Patterns/Patterns.aspx