Tag: Linux

Finding Files in Linux

by Craig Mayhew on Dec.08, 2009, under Linux/Ubuntu

Find “text to find” in files within the current directory

grep -lir "text to find" *

Find “example” in filenames within the current directory

find -name '*example*'

Find a file called “example.txt” within the current directory

find -name 'example.txt'

Find all files larger than 1000k within the current directory

find -name '*' -size +1000k
Leave a Comment : more...

Visit our friends!

A few highly recommended friends...