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 is shell?
how to find largest file?
14 Answers HCL, Microsoft, Thomson Reuters,
hi i have directories within the directory. Now i want to copy the directory along with all directories included in it to one location by using copy command? what is the command
what is the command to find out which shell you are running?
How do I clear my terminal history?
Explain iostat, vmstat and netstat.
When the shell is reading the command line what is the difference between text enclosed between double quotes ( ” ) and text enclosed between signal quotes ( ’ )?
Why we are using UNIX OS when we are doing the testing in our application?
how to find the 51th record of a file containing 100 records in unix.
Which command should you use to find the remaining disk space in unix server?
what is Online(STM) and offline diagnostics in HP-UX?
Which unix command lists files/folders in alphabetical order?