Showing posts with label Unix/Linux. Show all posts
Showing posts with label Unix/Linux. Show all posts
Wednesday, February 18, 2009
How to find a file in the current directory/subdirectories by ignoring the errors?
find . -name "<filename.extension>" 2>/dev/null
Tuesday, February 17, 2009
How to find files in the current directory/sub-directories that contain the search string?
find . | xargs grep "<searchstring>"
Thursday, February 12, 2009
Subscribe to:
Posts (Atom)