Write a grep (or grep) command that selects the lines from
a file that have exactly three characters.
Answer Posted / vawani
grep -x ^...$ <File Name>
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is grep and how do you use it?
What are filter commands in unix?
how to sort the content of the file based on numeric values
What is a bash command?
What is the behavioural difference between cmp and diff commands?
What is the command to compare two files in unix?
How do you repeat a command in terminal?
How can you see the command line history?
How can we use grep command in unix?
What is the use of finger command?
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 is time_t?
What does touch command do in unix?
How do I use grep to find a file?
What is in grep command?