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 the difference between cat command and more command?

1149


What is the use of finger command?

1166


Is it inbetween or in between?

1017


What are bash commands?

1114


What does touch command do in unix?

1365


What is the behavioural difference between cmp and diff commands?

1236


What do chmod, chown, chgrp commands do?

1237


Explain ‘system calls’ with respect to unix commands?

1062


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1280


Which unix command lists files/folders in alphabetical order?

1700


What is awk good for?

1108


Why is it called grep?

986


What do chmod command do?

1156


Who invented grep?

1133


What does the “echo” command do?

1113