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

How do I run a bash script?

1198


How do I use grep to search for a file?

1072


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

2274


What is the behavioural difference between cmp and diff commands?

1299


Can you enlist some commonly used network commands?

1125


Explain ‘system calls’ with respect to unix commands?

1108


What do chown command do?

1212


What is $0 bash?

1216


How do I use nslookup?

1110


Is ‘du’ a command? If so, what is its use?

1166


What is grep and how do you use it?

1125


How do I find previous commands in unix?

1202


What are some command words?

1152


Differentiate cmp command from diff command.

1182


Using unix command how to display no of records in oracle?

1177