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 does the 'tee' command do?
what is the difference between "cron" command and "at" command?
what is tar command and what are the different types of tar commands?
What is use of sed command?
12 Answers BitWise, Infosys, Reliance,
What is the difference between udp and tcp?
What are the dos commands?
write grep commands to select the lines that have exactly two characters
What UNIX command will control the default file permissions when files are created?
What is merge command in unix?
How to check the flavor of UNIX?
who to change the duplex setting of network interface in command line
What happens when we execute a unix command?