write grep commands to select the lines that have exactly
two characters
Answer Posted / mr. manindra nayak
grep -w '^..$' filename
or grep '[a-z][a-z]' filename
or grep '[A-Z][A-Z]' filename
Is This Answer Correct ? | 2 Yes | 10 No |
Post New Answer View All Answers
What do know about tee command?
Is it inbetween or in between?
What is the function of grep command in unix?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What do chown command do?
What are bash commands?
Explain ‘library functions’ with respect to unix commands?
How do you grep a case insensitive?
How do I delete files from command prompt?
What is grep command in unix with examples?
What does grep v grep do?
What is ctrl d?
Describe the zip/unzip command using gzip.
What is the use of find command in unix?
What is “chmod” command?