Write the myfinger program which can then be used

Assignment Help Computer Engineering
Reference no: EM132144520

You are on a system in which the finger program has been disabled and you want a quicky finger type program and you decide that greping/etc/passwd would be sufficient.

However the system that you are on uses nis+ and so nothing is in the password file. In order to essentially get the contents of the password file you can execute niscat passwd.org_dir

. Thus you decide to write a C program, myfinger, that will execute niscat passwd.org_dir and then pipe the stdout of the niscat program into egrep rexp where rexp is the regular expression given on the command line.

Write the myfinger program which can then be used, for example, to find information about a user named George by executing: myfinger George.

Reference no: EM132144520

Questions Cloud

How many of the policy holders are unmarried women : How many of the policy holders are married men under age 30? How many of the policy holders are unmarried men age 30 or more?
Does the proposed system present a strong business case : Their main objective was to carry out a preliminary investigation of the new system and report their recommendations to Personal Trainer's top managers.
CASE - Garcia v NAB : LEGL 101 INTRODUCTION TO BUSINESS LAW ASSESSMENT - Introduction of relevant background of the issue. Provide Conclusions and Observations
Prepare a decision table and a decision tree : Jesse wants to see a context diagram and a diagram 0 DFD for TIMS. She said to include notes to identify any assumptions or other issues.
Write the myfinger program which can then be used : Write the myfinger program which can then be used, for example, to find information about a user named George by executing: myfinger George.
Calculate the effective access time for a referenced word : The word can always be found on the disk and takes 1 millisecond to access it from disk. Calculate the effective access time for a referenced word.
Give two examples of information infrastructure : Give two recommendations that can address this issue with the personnel in the department that controls the inventory ?
What is the embedded rate of return associated : What is the embedded rate of return associated with the two alternative modes of payoff?
Describe a bank accepted bill : Describe a bank accepted bill, and explain the role of the acceptor, payee, drawer and discounter, in the context of bank accepted bills.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Describe way of traversing orchard that will visit vertices

Describe a way of traversing an orchard that will visit the vertices in the same order as postorder traversal of the corresponding binary tree.

  Assess the benefits gained by running applications when the

most operating systems use a virtual memory manager vmm whose responsibility is to manage the relationship between the

  How many memory locations can be addressed

A computer system has a word addressable memory. Each word is 32 bits (4 bytes) wide, and sytem uses 24-bit addressing. How many memory locations can be addressed?

  Calculate the equilibrium temperature of the glass bulb

An incandescent light bulb is an inexpensive but highly inefficient device that converts electrical energy into light.

  Describe one or more algorithms at a high level

Suppose you need to manually sort a hand of cards. What techniques, other than a bubble sort, would you implement?

  Questionyou are working on a project to increase an

questionyou are working on a project to increase an intranet and several people are confused about who requests to do

  Calculate the skin temperature as a function of altitude

The gas turbine blade of Prob. I is to be cooled to a uniform surface temperature of 650°C by transpiration of air through a porous surface.

  Define the function prototype

Implement wildcard pattern matching with support for '?' and '*'. '?' : Matches any single character. '*' : Matches any sequence of characters.

  Why do systems deployments or implementations fail

Why do systems deployments or implementations succeed.

  Determine the fraction of heat transferred by radiation

A vertical 1.5-m-high and 3.0-m-wide enclosure consists of two surfaces separated by a 0.4-m air gap at atmospheric pressure.

  Describe why data structure is helpful and important in

discuss why data structure is useful and important in programing. use your own examples to explain what an array is

  Find and apply all operating system patches

Using a lab system, find and apply all operating system patches. Check with all vendors of software installed on that machine and apply patches.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd