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 |
Give the command to display space usage on the UNIX file system.
What does this command do? Cat food 1 > kitty
what is the use of ls -l command & what is the information it gives about user ?
What difference between cmp and diff commands?
Differentiate cmp command from diff command.
what are wild cards?
how will you convert a general file to a hidden file?
what does a process mean?
What does find command return in unix?
What is ‘ps’ command for?
how to unzip the contents of the gzip file
What is the command to find maximum memory taking process on the server?