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 are some command words?

1083


How do you grep recursively?

1055


What are grep patterns?

1019


What are the unix commands?

1029


What is the function of grep command in unix?

1106


Explain the steps that a shell follows while processing a command.

1162


What is the difference between awk and grep?

1149


How do I open a port?

1036


How do I search for text in vi?

988


How do I use nslookup?

1036


Using unix command how to display no of records in oracle?

1111


What command is used to switching between users in unix?

1026


What is pipe command in unix?

1228


What is command substitution?

1266


How can you see the command line history?

1076