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


Explain how you would find a specific string in a file.



Explain how you would find a specific string in a file...

Answer / hr@tgksolutions.com

You can use the 'grep' program to locate a certain string in a file. 'grep "search_string" filename', for instance, will look for'search_string' inside 'filename' and show the lines that match.

An ideal applicant will be aware of extra options like 'grep -i' for case-insensitive searches and 'grep -r' for recursive directory searches. This indicates a deeper comprehension of the proper use of 'grep'.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Linux Commands Interview Questions

Which of the commands will replace all occurrences of the word rate with the word speed in the file racing?

0 Answers  


What is ulimit in linux?

0 Answers  


How do I clear my run history?

0 Answers  


How many types of commands are there in linux?

0 Answers  


In Linux how you set time a limit on quota?

1 Answers   Mind Tree,


When is it better to use the more command rather than cat command?

3 Answers  


What is a simple command?

0 Answers  


List all the files beginning with A

10 Answers  


What are the mv command options?

0 Answers  


How do I run a .sh file in linux?

0 Answers  


in LINUX,What are two subtle differences in using the more and the pg commands?

2 Answers  


What is Syntax of any Linux command?

0 Answers   UGC Corporation,


Categories