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 is the difference between cat and more command?
What is the command to view process running?
why metadb requires a seperate slice to create Solaris volume manager
Write a command to display a file’s contents in various formats?
What do chown command do?
How do you repeat a command in terminal?
What is the command to find maximum memory taking process on the server?
What is the significance of the 'tee' command?
Name the unix command to find how many days the server has been up.
What are the general commands in using unix os for a beginner?
How do you grep recursively?
What is “chmod” command?
Describe the zip/unzip command using gzip.
Enlist some filename manipulation commands in unix.
What is rmdir command?