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
How do I search for a file in unix command?
What does #!/ Bin sh do?
What is the function of grep command in unix?
What does the md command do?
What does the “echo” command do?
What is the command to compare two files in unix?
Which command is used to kill the last background job?
What is in grep command?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
What is the difference between grep and grep?
What is awk good for?
Explain ‘library functions’ with respect to unix commands?
What is grep short for?
What is sed awk grep?
Can you enlist some commonly used network commands?