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

You wish to restore the file memo.ben which was backed up in the tarfile mybackup.tar. What command should you type?

896


What does mkdir mean in linux?

1072


Explain about refer?

941


What is ls command and what it does?

957


Is cmake a compiler?

1012


What command is used to check the number of files, disk space, and each user’s defined quota?

1009


How do you save a file in linux?

1077


What is the export command used for?

948


Suppose you try to delete a file using the rm command and the deletion fails. What could be the possible reason?

950


How use more command in linux?

1045


What is shell scripting commands?

1117


What is cat command in linux?

960


How do I know my linux shell version?

1001


What is bash history linux?

972


How do I check disk space in linux?

973