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
What is the use of finger command?
What is rmdir command?
What is the use of sed command in unix?
What is the comma to show the space allocation of files?
Write a command to kill the last background job?
Which command can you use to find the currently running process in unix server?
What is the general format of unix command syntax?
What is the command to find hidden files in the current directory?
What are the general commands in using unix os for a beginner?
What does #!/ Bin sh do?
What is grep and how do you use it?
What's a command word?
What is the functionality of a top command?
What is unix command line?
What does find command return in unix?