write grep commands to select the lines that have exactly
two characters
Answer Posted / amaresh
grep '^..$' filename
| Is This Answer Correct ? | 8 Yes | 10 No |
Post New Answer View All Answers
How do I run a whois command?
What does 'mkdir' command do in UNIX?
Explain ‘system calls’ with respect to unix commands?
What is the use of the tee command?
How do I clear my terminal history?
What is pipe command in unix?
How do you repeat a command in terminal?
How to use grep command to list find the records of a file containing 10 different strings?
Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?
Who invented grep?
why metadb requires a seperate slice to create Solaris volume manager
What does the command ' $who | sort –logfile > newfile' do?
Why is awk called awk?
What is awk command used for?
Give the command for finding the current date.