Thursday 11 September 2008

My Linux Shell Cheatsheet

Find total number of lines in a programming project recursively.
cd /to/some/project/folder/with/loads/of/subfolders
wc -l `find . -name *.php`

No comments: