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

Answer Posted / niranjan

1)grep ??? filename

2)grep ^...$ filename

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between grep and find command in unix?

598


What is the size of time_t?

675


What is grep short for?

571


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

696


What is the use of find command in unix?

595






Give the command for finding the current date.

593


What is the use of finger command?

611


Explain mount and unmount command.

629


What does the “echo” command do?

636


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

771


What is s and g in sed command?

572


Write a command that will display files in the current directory, in a colored, long format.

695


Enlist some filename manipulation commands in unix.

562


What is the nmap command?

607


What will the following command do?

627