Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

if i have one folder say aaa and that folder having 100
files from that 50 files there aaa word is written how to
find in which aaa is writen and without opening that file

Answer Posted / nixor

grep -rl aaa ./aaa/*

That would list the file name where the string aaa is
present. (-l switch)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I move to root in linux?

1040


What does (cd dir && command) do?

954


What does the command env do?

948


How much ram do I have linux?

910


What is the difference between find and locate command in linux?

993


What is parallel ssh?

933


What file type is a makefile?

894


Brief about the command nn?

975


How do you run command every time a file is modified?

918


What is a good processor speed?

891


What does r mean linux?

983


How to give acl permission in numerical mode on linux?

944


How does grep work in linux?

881


What is nbtstat command?

1009


What is pwd in linux command?

1153