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

What is nr in awk command?

1197


Explain command to view process running?

1126


Write a command to kill the last background job?

1098


What is the difference between cat command and more command?

1202


What is sed awk grep?

1131


What do know about tee command?

1155


What is grep command in unix with examples?

1214


What do chmod, chown, chgrp commands do?

1283


What does the md command do?

1129


What do chgrp command do?

1212


What is the size of time_t?

1208


Which command is used to copy files?

1171


What is the use of find command in unix?

1149


What is the difference between cat and more command?

1292


Enumerate some of the most commonly used network commands in unix?

1162