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

Describe the mknod command and when you’d use it.

1139


What is devops linux?

986


What are system commands?

1089


Explain grep command.

1021


Explain about gzip filename?

978


What does umask 077 mean?

991


please advice me what i have to prepare for NIC Exam(22-feb- 09). send me the question pattern for the 2 hrs exam. please sent it to manivannan_it15@yahoo.co.in

2360


How do I find cpu in linux?

1018


How to recover /etc/passwd file and /etc/shadow file?

992


How can I delete a file in linux?

1086


Suppose I lost a root password and I need to give it, I treid to change it through single usermode even though I am not get a password, then what is the otherprocedure to give a root password?

972


Which command is used to uncompress gzip files?

1155


What does comm do and how to use it?

1020


How do you create a text file in linux?

1139


In order to display the last five commands you have entered using the fc command, you would type?

934