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 a command and examples?
Why is it called a shebang?
What does grep v do?
Enumerate some of the most commonly used network commands in unix?
What do chmod, chown, chgrp commands do?
What is the command to find maximum memory taking process on the server?
What is the unix command to confirm a remote host is alive or not?
What is grep in bash?
What are grep patterns?
What do know about tee command and its usage?
What is unix command?
Name the various commands that are used for the user information in unix.
why metadb requires a seperate slice to create Solaris volume manager
What does the md command do?
Explain mount and unmount command.