Write a grep (or grep) command that selects the lines from
a file that have exactly three characters.

Answer Posted / rajasekar utl

grep ^...$ <filename>

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does touch command do in unix?

721


What is the difference between cat and more command?

621


Explain mount and unmount command.

609


What is nr in awk command?

595


How do I find previous commands in unix?

592






What are file commands?

648


What difference between cmp and diff commands?

717


What is merge command in unix?

940


Describe the usage and functionality of the command rm –r * in unix?

820


What do chmod command do?

600


Write a command that will display files in the current directory, in a colored, long format.

676


What are grep patterns?

573


What are reported commands?

560


Why is awk called awk?

573


What is difference between grep and find command in unix?

576