write grep commands to select the lines that have exactly
two characters

Answer Posted / yogita

grep '^..$' a.txt

Is This Answer Correct ?    12 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Differentiate cat command from more command.

576


What are some command words?

563


What is grep and how do you use it?

577


What is the use of awk command in unix?

581


What does awk stand for?

607






What are file commands?

654


Does cp command overwrite files?

620


What is awk good for?

584


What does find command return in unix?

592


How do I use nslookup?

574


What is command substitution?

624


Can you enlist some commonly used network commands?

600


How do I run a whois command?

600


What is the command to find maximum memory taking process on the server?

672


What is the comma to show the space allocation of files?

558