Write a grep (or grep) command that selects the lines from
a file that have exactly three characters.
Answer Posted / sudhir
The command will be like this
grep -c "abd" <file_name>
This command gives you the line number which contain three
character.
Regrds,
Sudhir
Is This Answer Correct ? | 6 Yes | 18 No |
Post New Answer View All Answers
Does cp command overwrite files?
What is the use of the tee command?
What does the md command do?
What is grep r?
What is $0 bash?
What is the behavioural difference between cmp and diff commands?
Enlist some filename manipulation commands in unix.
What happens when we execute a unix command?
What are the unix commands?
Write a command to display a file’s contents in various formats?
What does grep v do?
How do you repeat a command in terminal?
What is in grep command?
What are filter commands in unix?
What command is used to check the current users?