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 / brian

Find ./aaa -type f -exec grep -l aaa {} \;

This will list the paths and file names containing the text aaa in any file in the directory named aaa.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of finger command in linux?

998


What does uname command do?

1148


Explain the ‘ls’ command in linux

1077


How to give acl permission in numerical mode on linux?

982


Which Command used to lock user password in Linux?

1052


Write a command that will display all .txt files, including its individual permission.

2772


How do you kill a process in linux?

1097


What does mkdir mean?

1110


What is the command to delete a file linux?

1053


Information technology is widely used in

1860


What is netstat command in linux?

1015


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

975


How do I run a .sh file in linux?

1099


How do I find the console in linux?

1018


What is clang tidy?

985