write grep commands to select the lines that have exactly
two characters
Answers were Sorted based on User's Feedback
Answer / 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 |
What is the use of sed command in unix?
what do you understand by 'unix is a portable os'?
How does pipe () work?
What is use of sed command?
12 Answers BitWise, Infosys, Reliance,
Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?
What does the “echo” command do?
What is shrinking file system in AIX where it actually resides?
What do chmod, chown, chgrp commands do?
Who wrote grep?
What is rmdir command?
Write a command to kill the last background job?
What is clustering in HP and how it's work?