Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then 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.
I am trying to create a shell script which backs up one directory to another. It should takes two parameters from the user, firstly the directroy to back and the directory to back up to. I then need the script to check if the directories are valid, if not output to user, and then to check if there will be any files over written in the process and to report these to the user with an option to overwrite or not.
Help would be greatly appreciated as this is an assignment that i have to do and im getting no-where fast.
Last edited by WarriorWarren; 04-06-2003 at 09:32 AM.
Have you decided what shell you are going to write this script in? csh, tcsh, bsh, bash, ksh, ash, sh, or some other? In other words, have you written your first line of code? It is always a good first step.
If there is a choice in the matter, I might recommend bash, in part because of the Advanced Bash-Scripting Guide at the LDP. It should have all the information you need. I'ld give you a link, but I use a mirror near me and I don't know where you are located.
terribly sorry chris, I didnt realize that the forum doesnt enjoy helping others understand Linux.
I also am not asking someone to do my homework, im asking for a little help and guidance. All the tools required are not in the resources that are supplied, it is intened that some information is
researched and discussed with others.
Also being from UK myself, and being a part time adult student I must admit I am struggling with this assignment and this is a last resort to actually ask online.
Dont worry, no more questions about homework thoug. Thanks for your time.