Homework is not permitted at The UNIX and Linux Forums.
Please read the rules, which you agreed to when you registered, if you have not already done so.
More-than-likely, posting homework has resulting in a forum infraction. If you did not post homework, please explain the company you work for and the nature of the problem you are working on.