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

Answer Posted / suvarna

grep -w "[a-z][a-z][a-z]" file_name

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is time_t?

588


What is the use of awk command in unix?

581


What do chgrp command do?

591


What is the behavioural difference between cmp and diff commands?

677


What are the unix commands?

560






Who invented grep?

653


How does the system know where one command ends and another begins?

1578


Which command is used to copy files?

556


Who wrote grep?

587


What is the difference between cat command and more command?

599


What does awk stand for?

615


What is nr in awk command?

604


What is the command to view process running?

577


What are the general commands in using unix os for a beginner?

577


What does 'mkdir' command do in UNIX?

660