Write the myfinger program which can then be used for


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.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: Write the myfinger program which can then be used for
Reference No:- TGS02937971

Expected delivery within 24 Hours