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 |
How do you grep a case insensitive?
what is difference between unix and linux?
How do you find files in Unix?
What is the functions of zambie process?
What does pipe () return?
Name the unix command to find how many days the server has been up.
What are bash commands?
What is the nmap command?
How to identify whether a file is normal file or directory?
How do you change file permissions and ownership in Unix?
How i'll delete a particular line from the file? Please give answer as soon as possible. Thanks in advance.
How do you remove a directory?