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

Answer Posted / ripu

grep ^...$ <filename>

Is This Answer Correct ?    61 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

583


What is the use of the tee command?

592


Is ‘du’ a command? If so, what is its use?

629


Can you enlist some commonly used network commands?

596


What are awk commands?

580






What is grep and how do you use it?

569


Enlist some filename manipulation commands in unix.

544


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

634


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

591


Give the command for finding the current date.

575


What is the command to compare two files in unix?

618


What is the nmap command?

577


How to display no of records in oracle using unix command?

587


What is grep command in unix with examples?

604


What is awk used for?

615