write grep commands to select the lines that have exactly
two characters
Answers were Sorted based on User's Feedback
Answer / 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 |
What are reported commands?
What is the use of cut command in unix?
what is the use of "test" command in unix?
How to display no of records in oracle using unix command?
What is file system in unix??
Differentiate cat command from more command.
What Command is used to make a directory?
How to rename files and folders?
What command will bring user back to their home directory in UNIX?
hi i have directories within the directory. Now i want to copy the directory along with all directories included in it to one location by using copy command? what is the command
What is s and g in sed command?
What is awk used for?