Linux Commands

Posted: December 30th, 2011 | Author: | Filed under: Linux | Tags: , , , | No Comments »

find

Find all files from current directory and subdirectories
find . -name '*.doc' -print
Result
report.doc
somedoc.doc

Finding files by date: http://www.cyberciti.biz/faq/howto-finding-files-by-date/

du

Show total disk usage of a directory:

du -sh /tmp/somedir

Comments are closed.