Unix Shell, Programming Languages

#quFollow the my shell programming guidelines as in the other assignments.
Write a shell script to send a customized mail message to the users listed on the command line by login (user) name, only if they are currently logged on.
If no users are listed on the command line an error message should be printed.
In the mail message, you should use the full (real) name from the passwd file (/etc/passwd).
You also need to sign the script with the real name of the person who is running the script.
This can be derived from the $USER environment variable and looking up the value in the password file.
An error message should be printed if the user does not exist in the passwd file.
PLEASE ONLY SEND THIS MESSAGE TO USERS WHICH YOU KNOW PERSONALLY.
You can always use yourself and me (mrichard) as a test case
The real name of the user of the script should only be computed once.
A "Here-Document (In-Line Redirection)" must be used for the mail message.
No temporary files shall be used.
The message should be as follows:
Hello ,
**** This email is automatically generatated by ******
My instructor requires that I send this message as part of an assignment for class 92.312.
The current time and date is .
Have a nice day.
Posted Date: 11/10/2012 7:39:15 PM | Location : United States







Related Discussions:- Unix Shell, Assignment Help, Ask Question on Unix Shell, Get Answer, Expert's Help, Unix Shell Discussions

Write discussion on Unix Shell
Your posts are moderated
Related Questions
Example :  Solve the following differential equation. y (3)   -  12 y''+48 y' + 64 y = 12 - 32 e -8t + 2 e 4t Solution :    We first require the complementary solution


What are program visible and invisible resisters? A4) Program visible is those registers that can be programmed by the users, or which are customizable, whereas Program invisible

What is an abstract class:   Abstract class is stated as an abstract concept that cannot be instantiated or comparing to interface this can have some implementation and interface c

showing work Ubuntu system or either opensuse

Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4

Question: (a) In JavaScript, the Window Object is commonly used to request information from a user or to output some results. Give three ways how to create instances of the

I need to do image reconstruction using Neural Network using Matlab

Problem: (i) Define Remote Procedure Call (RPC). (ii) Explain with diagram how RPC works? (iii) A remote procedure is uniquely defined by (a) Program number. (b)

I need someone to make an ER diagram.