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 is pid?
Give a regular expression that finds two things, try to come up with regular expressions that find each individually using "egrep" command?
How to redirect standard error to a file?
What are file commands?
in UNIX,what is the command to remove directory with files?
What command will change your prompt to myprompt?
Explain mount and unmount command.
in UNIX ,What is the command to view contents of a large error log file?
what is the cmd to display the last exit status 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
How we will execute previous command in vi editor?
What command would users use to see what file one page at a time in UNIX?