Write a grep (or grep) command that selects the lines from
a file that have exactly three characters.
Answer Posted / saravan
grep -w [a-zA-Z][a-zA-Z][a-zA-Z] <filename>
| Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Name the general commands in using unix os for a beginner?
What does find command return in unix?
What is grep command in unix with examples?
Is it inbetween or in between?
How can you see the command line history?
Which unix command to make a new directory?
Write a command that will allow a unix system to shut down in 15 minutes, after which it will perform a reboot.
Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?
What is the command to view process running?
What is the function of grep command in unix?
What is the unix command to confirm a remote host is alive or not?
What is the use of the tee command?
How does shebang work?
How do I find previous commands in unix?
What is merge command in unix?