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

The command will be like this

grep -c "abd" <file_name>

This command gives you the line number which contain three
character.

Regrds,
Sudhir

Is This Answer Correct ?    6 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which command is used to create a directory?

1090


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

1093


Who command in unix?

1083


What does the md command do?

1068


How is the command '$cat file2 ' different from '$cat >file2 and >> redirection operators ?

1243


What is the use of tee command?

1068


Name the general commands in using unix os for a beginner?

1087


What are the commands in UNIX to list the files in a Directory?

1104


How can you see the command line history?

1073


What is time_t?

1053


How do I clear my terminal history?

1085


What are some command words?

1080


How do I run a bash script?

1105


Which command should you use to find the remaining disk space in unix server?

1231


How does pipe () work?

1035