241 lines
4.0 KiB
HTML
241 lines
4.0 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
|
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Organization of this document</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.7"><LINK
|
|
REL="HOME"
|
|
TITLE="Bash Guide for Beginners"
|
|
HREF="index.html"><LINK
|
|
REL="UP"
|
|
TITLE="Introduction"
|
|
HREF="f32.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Conventions used in this document"
|
|
HREF="intro_09.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Bash and Bash scripts"
|
|
HREF="chap_01.html"></HEAD
|
|
><BODY
|
|
CLASS="section"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
LINK="#0000FF"
|
|
VLINK="#840084"
|
|
ALINK="#0000FF"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
SUMMARY="Header navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>Bash Guide for Beginners</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="intro_09.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
>Introduction</TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="chap_01.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="section"
|
|
><H1
|
|
CLASS="section"
|
|
><A
|
|
NAME="intro_10"
|
|
></A
|
|
>10. Organization of this document</H1
|
|
><P
|
|
>This guide discusses concepts useful in the daily life of the serious Bash user. While a basic knowledge of the usage of the shell is required, we start with a discussion of the basic shell components and practices in the first three chapters.</P
|
|
><P
|
|
>Chapters four to six are discussions of basic tools that are commonly used in shell scripts.</P
|
|
><P
|
|
>Chapters eight to twelve discuss the most common constructs in shell scripts.</P
|
|
><P
|
|
>All chapters come with exercises that will test your preparedness for the
|
|
next chapter.</P
|
|
><P
|
|
></P
|
|
><UL
|
|
><LI
|
|
><P
|
|
><A
|
|
HREF="chap_01.html"
|
|
>Chapter 1</A
|
|
>: Bash basics: why Bash is so good, building blocks, first guidelines on developing good scripts.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><A
|
|
HREF="chap_02.html"
|
|
>Chapter 2</A
|
|
>: Script basics: writing and debugging.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><A
|
|
HREF="chap_03.html"
|
|
>Chapter 3</A
|
|
>: The Bash Environment: initialization files, variables, quoting characters, shell expansion order, aliases, options.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><A
|
|
HREF="chap_04.html"
|
|
>Chapter 4</A
|
|
>: Regular expressions: an introduction.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><A
|
|
HREF="chap_05.html"
|
|
>Chapter 5</A
|
|
>: Sed: an introduction to the sed line editor.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><A
|
|
HREF="chap_06.html"
|
|
>Chapter 6</A
|
|
>:Awk: introduction to the awk programming language.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><A
|
|
HREF="chap_07.html"
|
|
>Chapter 7</A
|
|
>: Conditional statements: constructs used in Bash to test conditions.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><A
|
|
HREF="chap_08.html"
|
|
>Chapter 8</A
|
|
>: Interactive scripts: making scripts user-friendly, catching user input.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><A
|
|
HREF="chap_09.html"
|
|
>Chapter 9</A
|
|
>: Executing commands repetitively: constructs used in Bash to automate command execution.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><A
|
|
HREF="chap_10.html"
|
|
>Chapter 10</A
|
|
>: Advanced variables: specifying variable types, introduction to arrays of variables, operations on variables.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><A
|
|
HREF="chap_11.html"
|
|
>Chapter 11</A
|
|
>: Functions: an introduction.</P
|
|
></LI
|
|
><LI
|
|
><P
|
|
><A
|
|
HREF="chap_12.html"
|
|
>Chapter 12</A
|
|
>: Catching signals: introduction to process signalling, trapping user-sent signals.</P
|
|
></LI
|
|
></UL
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
SUMMARY="Footer navigation table"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="intro_09.html"
|
|
ACCESSKEY="P"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="index.html"
|
|
ACCESSKEY="H"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="chap_01.html"
|
|
ACCESSKEY="N"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Conventions used in this document</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="f32.html"
|
|
ACCESSKEY="U"
|
|
>Up</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Bash and Bash scripts</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |