Bash Shell Scripting
Crash Course
crowfly.net

<<   >>

Introduction

GNU_Tools

Example1

Example2

Execution_bit

Bang_bin_bash

Example3

The_dot

Example4

Example5

Example6

Example7

Example8

Background

Forking

Example9

Bash_profile

Pattern_match

Regex

Debug

Gory_details

References

<<   >>
Example 1

Here is your basic Hello world script, hello.sh:

  #!/bin/bash

  echo Hello, World.

The evocation and output looks like this:

  dlink@viddev1> ./hello.sh
  Hello, World.