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

Answer Posted / chintalapudi

grep -x '^???$' <filename>

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does grep v do?

553


How to display no of records in oracle using unix command?

583


What is the difference between grep and grep?

563


Which unix command to make a new directory?

583


What is used to type command?

535






How do I find previous commands in unix?

591


What is the use of the tee command?

589


What are bash commands?

586


How do I use nslookup?

568


Using unix command how to display no of records in oracle?

598


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

818


What command is used to check the current users?

584


What is the search command in unix?

592


What is unix command line?

600


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

624