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 / vaithy

grep -r aaa -e aaa

where,
-r recursive (includes all files, Folders and subfolders)
-e pattern (to be searched)

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

can any one send me one project on linux ...?

2782


Where is command history stored in linux?

1007


How do you run a command for a limited time?

1023


How do I list all processes in linux?

989


What is tty in linux process?

1044


State and explain about features of UNIX?

1061


Find command can search for files by

955


How do I run a shell script?

978


You locate a command in the /bin directory but do not know what it does. What command can you use to determine its purpose

1047


How do I find the linux version?

1090


How you will create new folder / directories and how to remove file and folder in linux?

928


Explain any one service which are working on udp only?

898


What is the best cpu stress test?

953


How does case sensitivity affect the way you use commands?

1145


Brief about FTP hostname?

1092