ls and grep in windows

It was really useful when some body are working with many files in Windows and searching for a common word in all files.This was given by my friend but sure many of us will need this job some time ...
so the command in windows to find a particular word in all files of current directory is as follows.
find /N /I "keywords" *.html

Above commad will search for the word "keywords" (both cases) in all the html files.
/N is for line number and /I is to ignore case.
sample output :

---------- SIGNUP2.HTML

---------- SUBCATEGORY.HTML


1 comments to "ls and grep in windows"

Post a Comment

Whoever writes Inappropriate/Vulgar comments to context, generally want to be anonymous …So I hope U r not the one like that?
For lazy logs, u can at least use Name/URL option which doesn’t even require any sign-in, The good thing is that it can accept your lovely nick name also and the URL is not mandatory too.
Thanks for your patience
~Krishna(I love "Transparency")

Popular Posts

Enter your email address:

Buffs ...

Tags


Powered by WidgetsForFree

Archives