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

Who ever 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 don’t even require any sign-in, good thing is that it can accept your lovely nick name also and URL is not mandatory too.
Thanks for your patience
~Krishna(I love "Transparency")
వీలయితే నాల్గు పోస్టులు ...కుదురితే ఒక కామెంటూ ...

Translate

Enter your email address:

Buffs ...

Visitors


hits counter
View My StatsCheck Google Page Rank

Add to Google Reader or Homepage

Bookmark and Share

Tags


Powered by WidgetsForFree

Archives