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 / usama el far

grep -n root /etc/passwd|cut -f1 -d:

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

1235


What is the command to view process running?

1071


What is the comma to display different lines that are found when compare two files?

1087


What is command statement?

1106


Why is it called grep?

975


What are grep patterns?

1027


Write a command to kill the last background job?

1024


How do you grep a case insensitive?

1001


How does the system know where one command ends and another begins?

2177


What are the differences among a system call, a library function, and a unix command?

1151


Explain the steps that a shell follows while processing a command.

1166


What is the difference between awk and grep?

1151


Write a command that will find all text files in a directory such that it does not contain the word "amazing" in any form (that is, it must include the words amazing, amazing, or amazing)?

1516


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

1078


why metadb requires a seperate slice to create Solaris volume manager

3084