write grep commands to select the lines that have exactly
two characters

Answer Posted / ankita

grep '^..$'

Is This Answer Correct ?    12 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you explain a little bit about command substitution?

607


Which command should you use to find the remaining disk space in unix server?

704


What are awk commands?

582


What is the behavioural difference between cmp and diff commands?

674


What is in grep command?

648






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

577


What is ctrl d?

594


What is the command to find maximum memory taking process on the server?

671


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

679


what is the advaantage of each user having its own copy of the shell?

2034


What is “chmod” command?

564


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

639


How can we use grep command in unix?

614


What are filter commands in unix?

555


Who wrote grep?

579