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 does && mean in bash?

0 Answers  


I lost a root password and i need to give it, I treid to change it through single usermode even though i am not get a password, then what is the other procedure to give a root password?

8 Answers  


What is apple llvm?

0 Answers  


How do display error messages instantly when command fails?

2 Answers   Satyam,


What command is used to check the number of files, disk space, and each user’s defined quota?

0 Answers  


How do you rate yourself in unix(if 0 is novice and 10 is sys admin)?

2 Answers   HP,


Which command is used to compare the files?

0 Answers  


Brief about the command ff?

0 Answers  


What is the difference between clang and llvm?

0 Answers  


What does the top command display?

10 Answers   iNautix, Yahoo,


How to monitor ports in a linux machine, with single command?

7 Answers  


Q. If we transfer 100 files by ftp to remote server, how to know the files are successfully transfer or some file are not transferred ?

6 Answers   IBM, IMB,


Categories