Pages

Showing posts with label unix. Show all posts
Showing posts with label unix. Show all posts

Wednesday, February 8, 2012

How to find all the files containing a particular text string.

How to find all the files containing a particular text string.
find . -exec grep -l "needle" {} \;

Tuesday, February 7, 2012

copy without overwirte.

yes n | cp -R -h -i /dirone/* /dirtwo