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

How do I search for a file in unix command?

541


What is the difference between awk and grep?

555


Explain the steps that a shell follows while processing a command.

678


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

629


Can you explain a little bit about command substitution?

602






What do chgrp command do?

586


What is the pipe command?

572


Is grep faster than awk?

555


What is grep and how do you use it?

569


Explain command to view process running?

609


What do know about tee command and its usage?

584


What is merge command in unix?

940


What is the use of awk command in unix?

573


Explain ‘system calls’ with respect to unix commands?

598


What are filter commands in unix?

548