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 command is used to check the number of files, disk space, and each user’s defined quota?

1042


How to give acl permission in numerical mode on linux?

987


How do I change shell in linux?

1041


What is netstat command in linux?

1030


What is the command can be run to remove all the rules in an iptable table?

1035


How do I check my cpu speed?

1051


What does r mean linux?

1065


Explain the linux ‘cd’ command options along with the description?

938


Where can I find bash in linux?

994


Which command is used to review boot messages?

1097


Enlist some linux to file content commands?

1058


How do I check dns entry?

1017


What are runlevels in linux?

1101


What are the linux commands used in devops?

1044


What is cd in cmd?

926