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

How can you see the command line history?

586


Who invented grep?

653


Write a command to kill the last background job?

620


Which command is used to copy files?

556


How does shebang work?

594






What is unix command line?

610


How do I use nslookup?

577


What is the use of cut command in unix?

694


What is grep command in unix with examples?

612


How does pipe () work?

597


How many unix commands are there?

631


Which command is used to create a directory?

575


What is awk good for?

588


What is nr in awk command?

606


What's a command word?

591