Index

A

aliases

the section called “What are aliases?”

ANSI-C quoting

the section called “ANSI-C quoting”

arguments

the section called “Checking command line arguments”

arithmetic expansion

the section called “Process substitution”

arithmetic operators

the section called “Process substitution”

array

the section called “Creating arrays”

awk

the section called “Getting started with gawk”

awkprogram

the section called “Gawk commands”

B

bash

the section called “Advantages of the Bourne Again SHell”

.bash_login

the section called “~/.bash_login”

.bash_logout

the section called “~/.bash_logout”

.bash_profile

the section called “~/.bash_profile”

.bashrc

the section called “~/.bashrc”

batch editor

the section called “What is sed?”

break

the section called “The break built-in”

boolean operators

the section called “Boolean operations”

Bourne shell

the section called “Shell types”

brace expansion

the section called “Tilde expansion”

built-in commands

the section called “Shell built-in commands”

C

case statements

the section called “Using the exit statement and if”

character classes

the section called “Character classes”, the section called “Character classes”

child process

the section called “General”

combined expressions

the section called “Expressions used with if”

command substitution

the section called “Arithmetic expansion”

comments

the section called “Adding comments”

conditionals

the section called “Introduction to if”

configuration files

the section called “Shell initialization files”

constants

the section called “Constants”

continue

the section called “The continue built-in”

control signals

the section called “Sending signals using the shell”

creating variables

the section called “Creating variables”

csh

The C shell, the section called “Shell types”

D

debugging scripts

the section called “Debugging Bash scripts”

declare

the section called “Using the declare built-in”, the section called “Creating arrays”

double quotes

the section called “Double quotes”

E

echo

the section called “An example Bash script: mysystem.sh”, the section called “script1.sh”, the section called “Debugging on part(s) of the script”, the section called “Using the echo built-in command”

editors

the section called “Writing and naming”

else

the section called “if/then/else constructs”

emacs

the section called “Writing and naming”

env

the section called “Global variables”

esac

the section called “Using the exit statement and if”

escape characters

the section called “Escape characters”

escape sequences

the section called “Using the echo built-in command”

/etc/bashrc

the section called “/etc/bashrc”

/etc/passwd

the section called “Shell types”

/etc/profile

the section called “System-wide configuration files”

/etc/shells

the section called “Shell types”

exec

the section called “General”, the section called “Read and exec”

execute permissions

the section called “Executing the script”

execution

the section called “Executing the script”

exit

the section called “Using the exit statement and if”

exit status

the section called “Testing exit status”

expansion

the section called “Shell expansions”, the section called “Shell expansion”

export

the section called “Exporting variables”

extended regular expressions

the section called “Basic versus extended regular expressions”

F

file descriptors

the section called “Redirection and file descriptors”, the section called “Using /dev/fd”

file name expansion

the section called “File name expansion”

find and replace

the section called “Find and replace with sed”

for

the section called “The for loop”

fork

the section called “General”

functions

the section called “What are functions?”

G

gawk

the section called “What is gawk?”

gawk commands

the section called “Gawk commands”

gawk fields

the section called “Printing selected fields”

gawk formatting

the section called “Formatting fields”

gawk scripts

the section called “Gawk scripts”

gawk variables

the section called “Gawk variables”

gedit

the section called “Writing and naming”

global variables

the section called “Global variables”

globbing

the section called “Debugging on part(s) of the script”

grep

the section called “What is grep?”

H

here document

the section called “Here documents”

I

if

the section called “General”

init

the section called “General”, the section called “Example init script”

initialization files

the section called “Shell initialization files”

input field separator

the section called “Bourne shell reserved variables”, the section called “Special parameters”, the section called “Gawk variables”

interactive editing

the section called “Interactive editing”

interactive scripts

the section called “Displaying user messages”

interactive shell

the section called “Invoked as an interactive login shell, or with `--login'”, the section called “Invoked as an interactive non-login shell”, the section called “Interactive shell behavior”

invocation

the section called “Invocation”

J

K

kill

the section called “Usage of signals with kill”

killall

the section called “Usage of signals with kill”

ksh

Korn shell, the section called “Shell types”

L

length of a variable

the section called “Length of a variable”

line anchors

the section called “Line and word anchors”

locale

the section called “Locales”

locate

the section called “Writing and naming”

logic flow

the section called “A word on order and logic”

login shell

the section called “Invoked as an interactive login shell, or with `--login'”

M

menu

the section called “Making menus with the select built-in”

metacharacters

the section called “Regular expression metacharacters”

N

nested if statements

the section called “Nested if statements”

noglob

the section called “Debugging on part(s) of the script”

non-interactive editing

the section called “Non-interactive editing”

non-interactive shell

the section called “Invoked non-interactively”

non-login shell

the section called “Invoked as an interactive non-login shell”

numeric comparisons

the section called “Numeric comparisons”

O

options

the section called “Displaying options”

output field separator

the section called “The output field separator”

output record separator

the section called “The output record separator”

P

parameter expansion

the section called “Command substitution”

PATH

the section called “script1.sh”

pattern matching

the section called “Pattern matching using Bash features”

positionalparams

the section called “Special parameters”, the section called “Positional parameters in functions”

POSIX

the section called “Bash is the GNU shell”

POSIX mode

the section called “POSIX mode”

primary expressions

the section called “Expressions used with if”

printenv

the section called “Global variables”

printf

the section called “An example Bash script: mysystem.sh”, the section called “The printf program”

process substitution

the section called “Word splitting”

.profile

the section called “~/.profile”

prompt

the section called “Changing shell configuration files”

Q

quoting characters

the section called “Quoting characters”

R

redirection

the section called “Executing commands”, the section called “Changing options”, the section called “Redirection and file descriptors”, the section called “I/O redirection and loops”

rbash

the section called “The restricted shell”

read

the section called “Using the read built-in command”

readonly

the section called “Constants”

regular expression operators

the section called “Regular expression metacharacters”, the section called “Interactive editing”, the section called “Special patterns”

regular expressions

the section called “Regular expressions”

remote invocation

the section called “Invoked remotely”

removing aliases

the section called “Creating and removing aliases”

reserved variables

the section called “Reserved variables”

return

the section called “Positional parameters in functions”

S

sed

the section called “Introduction”

sed editing commands

the section called “sed commands”

sed options

the section called “sed commands”

sed script

the section called “Writing output files”

select

the section called “Making menus with the select built-in”

set

the section called “Local variables”, the section called “Displaying options”, the section called “Displaying functions”

shift

the section called “The shift built-in”

signals

the section called “Introduction”

single quotes

the section called “Single quotes”

source

the section called “Executing the script”

special parameters

the section called “Special parameters”

special variables

the section called “Special parameters”

standard error

the section called “General”

standard input

the section called “General”

standard output

the section called “General”

string comparisons

the section called “String comparisons”

stty

the section called “Introduction”

submenu

the section called “Submenus”

subshell

the section called “Which shell will run the script?”

substitution

the section called “Substitution”, the section called “Replacing parts of variable names”

substring

the section called “Removing substrings”

syntax

the section called “Shell syntax”

T

tcsh

the section called “Shell types”

terminology

the section called “Terminology”

then

the section called “Commands following the then statement”

tilde expansion

the section called “Shell parameter and variable expansion”

transformation of variables

the section called “Transformations of variables”

traps

the section called “General”

true

the section called “Nested while loops”

U

unalias

the section called “What are aliases?”, the section called “Creating and removing aliases”

unset

the section called “Creating variables”, the section called “Deleting array variables”, the section called “Displaying functions”

until

the section called “The until loop”

user input

the section called “Using the read built-in command”, the section called “Prompting for user input”

user messages

the section called “Interactive or not?”

V

variables

the section called “Variables”, the section called “Types of variables”

variable expansion

the section called “Command substitution”

verbose

the section called “Debugging on part(s) of the script”

vi(m)

the section called “Writing and naming”

W

wait

the section called “How Bash interprets traps”

whereis

the section called “Writing and naming”

which

the section called “Writing and naming”

while

the section called “The while loop”

wildcards

the section called “Wildcards”

word anchors

the section called “Line and word anchors”

word splitting

the section called “File name expansion”

X

xtrace

the section called “Debugging on the entire script”, the section called “Debugging on part(s) of the script”