Finding things with findstr, find and grep


Finding files containing a string in Windows

<bash>
findstr /s /c:"string" *.*

Finding files with a specific filename in Linux

<bash>
find -L. -name "filename"

Finding files containing a string in Linux

<bash>
grep -r "string" .


© 2008-2017 Patrick Lambert - All resources on this site are provided under the MIT License - You can contact me at: dendory@live.ca