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 / ramesh

grep "^...$" <file name>

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does grep v grep do?

1081


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

1072


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

1315


Explain command to show the space allocation of files?

1126


What is the difference between cat and more command?

1303


What is unix command line?

1265


What is ctrl d?

1101


Why is it called a shebang?

1193


Differentiate cmp command from diff command.

1175


What is the pipe command?

1193


How do I use grep to find a file?

1117


Is ‘du’ a command? If so, what is its use?

1155


Explain command to view process running?

1139


What is the command to find hidden files in the current directory?

1192


What is the first character of the output in ls l command?

1216