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

Write a command to kill the last background job?

1041


How does the system know where one command ends and another begins?

2190


How do I use nslookup?

1057


Explain ‘system calls’ with respect to unix commands?

1057


What is s and g in sed command?

1070


How does pipe () work?

1046


Differentiate cmp command from diff command.

1117


What is the search command in unix?

1059


How can you see the command line history?

1089


Are you in or at the office?

1087


Which unix command lists files/folders in alphabetical order?

1687


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1352


What is the command to find maximum memory taking process on the server?

1169


What is the functionality of a top command?

1067


Explain mount and unmount command.

1161