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 grep commands to select the lines that have exactly
two characters

Answer Posted / amaresh

grep '^..$' filename

Is This Answer Correct ?    8 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is grep in bash?

1025


How do I use nslookup?

1059


Which unix command lists files/folders in alphabetical order?

1691


Give the command for finding the current date.

1066


What is $0 bash?

1148


What does 'mkdir' command do in UNIX?

1271


How do I run a bash script?

1143


What is unix command?

1214


What does the metacharacter mean?

1103


What is the use of tee command?

1100


What is the significance of the 'tee' command?

1163


Which command should you use to find the remaining disk space in unix server?

1268


How do I run a whois command?

1119


Explain how to use grep command to list find the records of a file containing 10 different strings?

1028


What are the commands in UNIX to list the files in a Directory?

1130