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 are grep patterns called?

983


You want to know how many lines in the kickoff file contains ‘prize’. Which of the following commands will produce the desired results?

952


What is devops model?

898


How do I check dns entry?

983


How do I navigate in cmd?

932


What is the command to see on which port which service is running? And what is the difference between /etc/services file and net stat command?

935


What is Syntax of any Linux command?

1111


What is the command can be run to remove all the rules in an iptable table?

982


What is unix finger command?

940


What is $@ in shell?

911


What is ls command and what it does?

950


What is clang space engineers?

953


What are different command to check ram, process and hdd of linux machine?

968


What are the linux commands used in devops?

984


Why is linux cpu usage so high?

985