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
What is the use of cut command in unix?
What command is used to switching between users in unix?
What are file commands?
What is the pipe command?
What are some command words?
How do I clear my terminal history?
Can you explain a little bit about command substitution?
how to sort the content of the file based on numeric values
What difference between cmp and diff commands?
What is “chmod” command?
What do chmod command do?
How many unix commands are there?
Which unix command lists files/folders in alphabetical order?
What is the function of grep command in unix?
What is the search command in unix?