Saturday, April 26, 2014

find

  •   find command examples

Find files using file-name ( case in-sensitve find)
# find -iname "MyCProgram.c"

Execute commands on files found by the find command
$ find -iname "MyCProgram.c" -exec md5sum {} \;

Find all empty files in home directory
# find ~ -empty

 
More find examples: Hey, I found it! — 15 Practical Linux Find CommandExamples



0 comments:

Post a Comment