NCLP

On domain0, develop a shell script which can be used to start
and stop the web server and the Samba server domains. The
scripts should be easier to use as an xm command line and
simply take the parameter start and stop.
Every call of the scripts should be documented by sending a
mail to the root user. Note: This can be done with the command
mail. See the manpage of mail for details.
First, develop a script for the web server domain. When this
script works properly, make a copy and adjust it for the Samba
server domain.
Both scripts should be installed in the ~/bin directory of the
root user.

Leave a comment