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

What is the command to find hidden files in the current directory?

1158


What is the command to compare two files in unix?

1073


What is grep short for?

1015


Write a command to kill the last background job?

1047


Is there any method to erase all files in the current directory, along with its all sub-directories, by using only one command?

1169


How do I use grep to search for a file?

1020


What is awk command used for?

1161


What are the general commands in using unix os for a beginner?

1129


What is used to type command?

1021


What is the search command in unix?

1059


What does this command do? Cat food 1 > kitty

1542


What does find command return in unix?

1117


Is it inbetween or in between?

1014


Can you enlist some commonly used network commands?

1076


What is the function of grep command in unix?

1123