Write a grep (or grep) command that selects the lines from
a file that have exactly three characters.
Answer Posted / saravan
Sorry use the below commands to get the exact word contains
3 char in the file.
grep -w "[a-zA-Z][a-zA-Z][a-zA-Z]" <filename>
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
Which command will print your home directory on screen?
What do chmod command do?
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What are file commands?
What is the use of finger command?
What will the following command do?
What do chgrp command do?
What are grep patterns?
Is ‘du’ a command? If so, what is its use?
What does awk stand for?
Is grep faster than awk?
What does the command '$ls | wc –l > file1' do?
Can you enlist some commonly used network commands?
What is “chmod” command?
What is grep r?