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...


How do I use grep to find a file?



How do I use grep to find a file?..

Answer / Deepak Chaukar

To find a file using grep, you can search for a specific string within the file names. For example: 'grep -l <string> *' would return all files containing the specified string in their name. Note that this command should be run from your project root directory.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Unix Commands Interview Questions

how to find the 51th record of a file containing 100 records in unix.

12 Answers   IBM,


what are filters?

6 Answers  


How to remove a crontab file?

2 Answers  


distinguish between paging and swapping?

1 Answers   Infosys,


what is the difference between pipe(|) and tee command..

3 Answers   Cap Gemini, Rolta,


How do I search a whole word in vim?

1 Answers  


What is a command and examples?

1 Answers  


what is the command to find out the difference between files and folders?

6 Answers  


What is grep and sed command?

1 Answers  


How to find the files that are accessed before 10 minutes?

5 Answers   Amazon,


What does sed command do in unix?

1 Answers  


What's a command word?

1 Answers  


Categories