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 does awk stand for?

619


What is the first character of the output in ls l command?

641


Can you enlist some commonly used network commands?

610


What is the search command in unix?

611


Which command can you use to find the currently running process in unix server?

596






What is time_t?

596


What is a bash command?

633


What does find command return in unix?

606


how to sort the content of the file based on numeric values

1262


What is ctrl d?

602


How to find $ai_serual resolved path by using unix

1039


What does the command '$ls | wc –l > file1' do?

690


What do chmod, chown, chgrp commands do?

646


Can you explain a little bit about command substitution?

623


What is grep and how do you use it?

585