write grep commands to select the lines that have exactly
two characters
Answer Posted / mr. manindra nayak
grep -w '^..$' filename
or grep '[a-z][a-z]' filename
or grep '[A-Z][A-Z]' filename
| Is This Answer Correct ? | 2 Yes | 10 No |
Post New Answer View All Answers
How many unix commands are there?
Who command in unix?
What do chown command do?
What does #!/ Bin sh do?
Explain the steps that a shell follows while processing a command.
What is a command and examples?
What is rmdir command?
Which command can you use to find the currently running process in unix server?
How can we use grep command in unix?
Give the command for finding the current date.
Enlist some filename manipulation commands in unix.
What is the search command in unix?
Is command prompt unix?
Which command should you use to find the remaining disk space in unix server?
Explain command to view process running?