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 the difference between cat command and more command?
What is the use of finger command?
Is it inbetween or in between?
What are bash commands?
What does touch command do in unix?
What is the behavioural difference between cmp and diff commands?
What do chmod, chown, chgrp commands do?
Explain ‘system calls’ with respect to unix commands?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
Which unix command lists files/folders in alphabetical order?
What is awk good for?
Why is it called grep?
What do chmod command do?
Who invented grep?
What does the “echo” command do?