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

Answer Posted / manoj kumar kar

grep ^...$ <filename>

Is This Answer Correct ?    12 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

577


How do I clear my terminal history?

576


Which command is used to restrict incoming messages?

587


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

700


What is a command and examples?

577






What is grep r?

585


What command is used to switching between users in unix?

556


What does the md command do?

564


What is the difference between cat and more command?

621


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

820


What is the use of awk command in unix?

573


Explain ‘library functions’ with respect to unix commands?

601


Which command will print your home directory on screen?

540


What is the comma to show the space allocation of files?

558


What is awk used for?

615