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 |
Will rm -r* removes hidden files?
Describe the usage and functionality of the command rm –r * in unix?
What is the difference between udp and tcp?
What command is used to switching between users in unix?
What do know about tee command and its usage?
How do you find path of a directory? Give its syntax.
What is the use of touch command in there?
What does the metacharacter mean?
What are file commands?
What command will bring user back to their home directory in UNIX?
What is the protocol for PING command?
distinguish between interrupts and exceptions?