文档介绍:Written by Vivek G. Gite.
puters & nixCraft, Pune, INDIA.
This Document is Copyright (C) 1999-2002, Vivek G. Gite.
Linux Shell Scripting Tutorial - A Beginner's handbook
Linux Shell Scripting
Tutorial
A Beginner's handbook
Copyright © 1999-2002 by Vivek G. Gite
<vivek@>
(Formally know as )
Table of Contents
Chapter 1: Quick Introduction to Linux
What Linux is?
Who developed the Linux?
How to get Linux?
How to Install Linux
Where I can use Linux?
What Kernel Is?
What is Linux Shell?
How to use Shell
What is Shell Script ?
Why to Write Shell Script ?
More on Shell...
Chapter 2: Getting started with Shell Programming
How to write shell script
Variables in shell
How to define User defined variables (UDV)
Rules for Naming variable name (Both UDV and System Variable)
How to print or access value of UDV (User defined variables)
mand
/lsst/ (1 of 5) [7/29/2002 6:50:01 PM]
Linux Shell Scripting Tutorial - A Beginner's handbook
Shell Arithmetic
More about Quotes
Exit Status
The read Statement
Wild cards (Filename Shorthand or meta Characters)
mands on mand line
Command Line Processing
mand Line arguments required
Redirection of Standard output/input . Input - Output redirection
Pipes
Filter
What is Processes
Why Process required
mand(s) Related with Process
Chapter 3: Shells (bash) structured Language Constructs
Decision making in shell script ( . mand)
mand or [ expr ]
if...else...fi
Nested ifs
Multilevel if-then-else
Loops in Shell Scripts
for loop
Nested for loop
while loop
The case Statement
How to de-bug the shell script?
Chapter 4: Advanced Shell mands
/dev/null - to send unwanted output of program
Local and Global Shell variable (mand)
Conditional execution . && and ||
I/O Redirection and file descriptors
Functions
User Interface and dialog utility-Part I
User Interface and dialog utility-Part II
Message Box