write grep commands to select the lines that have exactly
two characters
Answer Posted / amaresh
grep '^..$' filename
| Is This Answer Correct ? | 8 Yes | 10 No |
Post New Answer View All Answers
How to use grep command to list find the records of a file containing 10 different strings?
What are file commands?
What is grep r?
What are the general commands in using unix os for a beginner?
What is the difference between grep and grep?
How do I use grep to find a file?
What is ctrl d?
What is unix command line?
What does the command '$ls | wc –l > file1' do?
How do I use grep to search for a file?
Which command is used to find whether the system is 32 bit or 64 bit?
What does this command do,"$more readme.txt“?
What command is used to check the current users?
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What are filter commands in unix?