Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Write a grep (or grep) command that selects the lines from
a file that have exactly three characters.

Answer Posted / sudhir kumar

sorry the command will be like below..

grep -x "abc" <file_name>

Regards,
Sudhir Kumar

Is This Answer Correct ?    6 Yes 17 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which command is used to delete all files in the current directory and all its sub-directories?

1317


Why is grep called grep?

1358


What is the pipe command?

1242


What happens when we execute a unix command?

1194


What is a command and examples?

1281


Can you enlist some commonly used network commands?

1154


What is the use of sed command in unix?

1258


How do I run a whois command?

1201


Is there a way to erase all files in the current directory, including all its sub-directories, using only one command?

1448


What is s and g in sed command?

1162


What is $0 bash?

1255


Explain the terms ‘system calls’ and ‘library functions’ with respect to unix commands?

1264


What is the use of awk command in unix?

1189


How do you grep recursively?

1152


Which command is used to find whether the system is 32 bit or 64 bit?

1196