Linux Shell Scripting Tutorial v2.0 Written by Vivek Gite <
[email protected]> and Edited By Various Contributors PDF generated using the open source mwlib toolkit. See http://code.pediapress.com/ for more information. PDF generated at: Wed, 02 Mar 2011 23:26:14 UTC Linux Shell Scripting Tutorial - A Beginner's handbook:About 1 Linux Shell Scripting Tutorial - A Beginner's handbook:About This document is Copyright (C) 1999-2009 by Vivek Gite [1] and its contributors. Some rights reserved. Audience This book is for students and Linux System Administrators. It provides the skills to read, write, and debug Linux shell scripts using bash shell. The book begins by describing Linux and simple scripts to automate frequently executed commands and continues by describing conditional logic, user interaction, loops, menus, traps, and functions. Finally, book covers various sys admin related scripts such as making a backup, using cron jobs, writing interactive tools, web based tools, remote login, ftp and database backup related scripts. This book is intended for Linux system administrators or students who have mastered the basics of a Linux Operating System. You should be able to: • Login to local or remote Linux system. • Use basic Linux commands, such as cp, mv, rm, man,less, chmod and others. • Create and edit text files in vi or any other text editor. • GUI is not required except for interactive GTK+ based GUI scripts. Licensing Information This book is available under Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported [2]. • You are free: • to Share — to copy, distribute and transmit the work • to Remix — to adapt the work • Under the following conditions: • Attribution — If you republish this content, we require that you: 1.