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

Answer Posted / leo

grep ^...$ <filename>

Is This Answer Correct ?    24 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How do I search for a file in unix command?

541


How can we use grep command in unix?

608


How do I use grep to search for a file?

578


What does awk stand for?

601


Why is grep called grep?

773






What are the commands in UNIX to list the files in a Directory?

614


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

584


What is the use of find command in unix?

575


What do know about tee command?

596


hw will u use awk in replacing cahrs and files

2724


Who wrote grep?

577


What will the following command do?

609


What is the command to compare two files in unix?

618


What is a bash command?

622


What's a command word?

583