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.

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What does comm do and how to use it?

983


What would be the result of issuing the command cat phonenos?

1031


What is the programming language for linux?

1166


How can we increase disk read performance in single command in Linux operating system?

1120


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

1083


How do you run command every time a file is modified?

962


Why is it called bash?

904


You wish to restore the file memo.ben which was backed up in the tarfile mybackup.tar. What command should you type?

927


What is unix finger command?

988


What is the default number of shell commands saved in the history list of .cshrc file?

975


What are linux commands?

1009


How do you kill a process in linux?

1102


What is nbtstat command?

1051


Which command is used to clear the screen?

1027


Explain the ‘ls’ command in linux

1078