Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Please need help with major scripting project have no clue first time linux user. Help would be much appreciated.
run from the command line with parameters pass in to it or run in interactive
mode (a menu system).
script must be able to start any program/s that is/are passed into the script as a parameter/s or a
single program input from the menu system (interactive mode). If there are no parameters passed
into your script, the script will then show the menu system (default behaviour).
After the program that has been chosen your script/s does the following:
First script checks that the target program file exists and reports the fact if it’s not found.
script will then start the target program.
If the running target program halts, script will then attempt to restart it.
Your script maintains an error log – failure of the target program to start, program has stopped and
the program restarted. All entries in the error log are to be date stamped. Note: Error log name is to
be the first parameter or asked for by menu-system.
Also script will report to the user via mail failure to start( after five attempts), that the program
has stopped and has fail to restart (mail account is second parameter or input from user).
In the case of the menu system the program will report to the screen, a non-existing file or the failure
of the initial start and waits for further input from the user. In the case of the command –line version
the program also reports to the screen the failure of the initial start and then aborts.
Per the LQ Rules, please do not post homework assignments verbatim. We're happy to assist if you have specific questions or have hit a stumbling point, however. Let us know what you've already tried and what references you have used (including class notes, books, and Google searches) and we'll do our best to help. Also, keep in mind that your instructor might also be an LQ member.
I now close anything which is an obvious verbatim posting of homework. Please contact me if you have any questions