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 / jyoti pruthi

grep -n "..." <filename>

It will give u the lines that have only 3 characters with
line numbers. Here, "..." replace any 3 characters (single
dot represent single character).

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a command and examples?

1279


Why is it called a shebang?

1240


What does grep v do?

1096


Enumerate some of the most commonly used network commands in unix?

1214


What do chmod, chown, chgrp commands do?

1341


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

1262


What is the unix command to confirm a remote host is alive or not?

1277


What is grep in bash?

1113


What are grep patterns?

1145


What do know about tee command and its usage?

1242


What is unix command?

1317


Name the various commands that are used for the user information in unix.

1130


why metadb requires a seperate slice to create Solaris volume manager

3243


What does the md command do?

1190


Explain mount and unmount command.

1275