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
When i run a programm of orphan process. Instead of getting child's parent (ppid)=1 ..i get 1400 and it varies as per system.
How can i findthe right soluion???
My pgm:
#include
Which command is used to find whether the system is 32 bit or 64 bit?
How do I use nslookup?
What is a bash command?
Which command is used to restrict incoming messages?
What are the general commands in using unix os for a beginner?
What is command statement?
Is command prompt unix?
How do I search for a file in unix command?
Write a command to display a file’s contents in various formats?
How do I clear my terminal history?
Why is it called grep?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
Which command should you use to find the remaining disk space in unix server?
What is pipe command in unix?