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

What is clang linux?

0 Answers  


how to create a new file command

17 Answers   Google,


What is ls command and what it does?

0 Answers  


What does the top command display?

10 Answers   iNautix, Yahoo,


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?

0 Answers  


Why is unix used?

0 Answers  


How do I check my cpu cores?

0 Answers  


What command can you use to review boot messages?

3 Answers   TCS,


What does chmod 755 do?

0 Answers  


What can you type at a command line to determine which shell you are using?

6 Answers   Tech Mahindra,


difference between nfs soft and hard mouniting points?

5 Answers   Oracle,


How do you kill a process in linux?

0 Answers  


Categories