Write a grep (or grep) command that selects the lines from
a file that have exactly three characters.
Answer Posted / satyawan
grep -n '\w{3}' <filename>
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Why is it called grep?
What does the md command do?
What is .sh file?
What is the significance of the 'tee' command?
What difference between cmp and diff commands?
What is the search command in unix?
What is the command to view process running?
Explain command to display different lines that are found when compare two files?
How does pipe () work?
What is difference between grep and find command in unix?
Who command in unix operating system?
Which command is used to copy files?
What is the use of tee command?
What is the behavioural difference between cmp and diff commands?
What does #!/ Bin sh do?