write grep commands to select the lines that have exactly
two characters
Answer Posted / amaresh
grep '^..$' filename
| Is This Answer Correct ? | 8 Yes | 10 No |
Post New Answer View All Answers
What is grep in bash?
How do I use nslookup?
Which unix command lists files/folders in alphabetical order?
Give the command for finding the current date.
What is $0 bash?
What does 'mkdir' command do in UNIX?
How do I run a bash script?
What is unix command?
What does the metacharacter mean?
What is the use of tee command?
What is the significance of the 'tee' command?
Which command should you use to find the remaining disk space in unix server?
How do I run a whois command?
Explain how to use grep command to list find the records of a file containing 10 different strings?
What are the commands in UNIX to list the files in a Directory?