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

How do you kill a process in linux?

1144


What does grep grep do?

937


What does sh do in linux?

985


What is linux pwd (print working directory) command?

980


What does f mean linux?

974


Which command is used to find what is in your home directory?

1002


What does chmod 644 do?

1028


Which of the Commands delete the files from the /tmp directory, issued by non-root user?

1096


Is python faster than bash?

1018


Brief about FTP hostname?

1103


You read an article that lists the following command: dd if=/dev/fdo bs=512 of=/new what does this accomplish?

1025


What language is clang written in?

908


What is echo command in batch file?

1098


How do I check my disk space?

996


Which command is used to delete a group?

1198