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 |
Is command prompt unix?
What UNIX command will control the default file permissions when files are created?
Explain command to view process running?
distinguish between physical addresses and logical address?
23 Answers College School Exams Tests, CTS, Infosys, SAX, TATA, TCS,
What are reported commands?
What is awk used for?
Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?
What do know about tee command?
What command is used to check the current users?
Explain iostat, vmstat and netstat.
How do you find files in Unix?
who to change the duplex setting of network interface in command line