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 df -i command?

1072


What does mkdir mean?

1184


How many cmd commands are there?

1056


How do you execute more than one command or program from a single command line entry?

1025


How do I run a bash script in linux?

1058


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

1035


why is the tar command used?

1131


How do I list directories in linux?

1121


How do I check command history?

1117


What is a makefile in c?

1040


What is unix finger command?

1063


What is Data Command?

1285


What are grep patterns called?

1081


Which command is used to clear the screen?

1089


What does make clean command do?

1085