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

Write a grep (or grep) command that selects the lines from
a file that have exactly three characters.

Answer Posted / saravan

Sorry use the below commands to get the exact word contains
3 char in the file.

grep -w "[a-zA-Z][a-zA-Z][a-zA-Z]" <filename>

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which command will print your home directory on screen?

1148


What do chmod command do?

1285


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

1265


What are file commands?

1286


What is the use of finger command?

1267


What will the following command do?

1173


What do chgrp command do?

1283


What are grep patterns?

1148


Is ‘du’ a command? If so, what is its use?

1202


What does awk stand for?

1143


Is grep faster than awk?

1082


What does the command '$ls | wc –l > file1' do?

1297


Can you enlist some commonly used network commands?

1154


What is “chmod” command?

1239


What is grep r?

1160