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
What are the unix commands?
What is command statement?
What is grep and how do you use it?
What are some command words?
Explain command to view process running?
How do you grep recursively?
How do I delete files from command prompt?
What is the command to view process running?
Why is it called a shebang?
Differentiate cat command from more command.
Explain mount and unmount command.
Why is grep called grep?
Is command prompt unix?
Write a command to display a file’s contents in various formats?
What does sed command do in unix?