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 |
Which command will print your home directory on screen?
what is the use of "test" command in unix?
their is a file1,file2 and i want to append file1 data to file2?
What is pid?
Which Command is Used for temprary switch User?
what do you understand bythe term 'de-mountable volumes'?
How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?
What is the syntax of grep command and what is its use?
What is the command to find hidden files in the current directory?
distinguish between multi-tasking,multi-user,multi- processing and time sharing?
4 Answers Infosys, Nikhil Construction,
what are the different commands used to create files?
Where can I get the free download of Unix by Yeswant Kanetkar?