Write a grep (or grep) command that selects the lines from
a file that have exactly three characters.
Answer Posted / jyoti pruthi
grep -n "..." <filename>
It will give u the lines that have only 3 characters with
line numbers. Here, "..." replace any 3 characters (single
dot represent single character).
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is awk command used for?
What is grep short for?
What is the difference between awk and grep?
What is pipe command in unix?
What is the use of finger command?
What is the use of sed command in unix?
What will the following command do?
What is s and g in sed command?
What is the behavioural difference between cmp and diff commands?
Describe the zip/unzip command using gzip.
What does pipe () return?
What is the use of awk command in unix?
Which unix command lists files/folders in alphabetical order?
What are awk commands?
How do I open a port?