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

Answer Posted / mahfooz

grep [a-z][a-z][a-z] filename

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of find command in unix?

592


How do I search a whole word in vim?

704


How do I delete files from command prompt?

555


Can you explain a little bit about command substitution?

623


How do I clear my terminal history?

592






What is sed awk grep?

612


How does pipe () work?

601


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

603


How do I search for text in vi?

597


What do chgrp command do?

604


What is ctrl d?

602


What is the use of finger command?

607


What is the comma to display different lines that are found when compare two files?

601


What does the metacharacter mean?

618


What is awk used for?

627