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
Are you in or at the office?
Why is it called grep?
Write a command to kill the last background job?
How can you see the command line history?
What is the use of sed command in unix?
Name the unix command to find how many days the server has been up.
What is the difference between awk and grep?
Differentiate cat command from more command.
Which command can you use to find the currently running process in unix server?
What are reported commands?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
What are awk commands?
Is command prompt unix?
What do chmod, chown, chgrp commands do?
How do you repeat a command in terminal?