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 / m.krishna kumar

#cd aaa
#cat <file name> | grep aaa

this is work only if you know the file name otherwise it is
not use . other way is if you must count the file then find
the file name of the 50 file then use the above command.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between cd and cd in linux?

981


The head command writes the how many lines of a file to screen?

1086


What is grep command?

922


How many interfaces(ethernet cards) are working using single command?

984


Which Command used to lock user password in Linux?

1052


What does free command do in linux?

1094


What is make command in linux?

1077


How does mkdir work in linux?

1191


How do you run a command for a limited time?

1009


You wish to print a file ‘draft’ with 60 lines on a page. What command would you use?

1077


What is the difference between locating and locate command?

978


How do I find cpu in linux?

990


What is ll command in unix?

1054


What is whois command?

1069


How do I check my cpu speed?

1036