Bash Guide for Beginners - Index
From LinuxReviews
Jump to navigationJump to searchPress Ctrl+f in your web browser to search.
A[edit]
- aliases
- Chapter 3. The Bash environment, Aliases
- ANSI-C quoting
- Chapter 3. The Bash environment,ANSI-C quoting
- arguments
- Chapter 7. Conditional statements, Checking command line arguments
- arithmetic expansion
- Chapter 3. The Bash environment, Process substitution
- arithmetic operators
- Chapter 3. The Bash environment, Process substitution
- array
- Chapter 10. More on variables, Creating arrays
- awk
- Chapter 6. The GNU awk programming language, Getting started with gawk
- awkprogram
- Chapter 6. The GNU awk programming language, Gawk commands
B[edit]
- bash
- Chapter 1. Bash and Bash scripts, Advantages of the Bourne Again SHell
- .bash_login
- Chapter 3. The Bash environment, ~/.bash_login
- .bash_logout
- Chapter 3. The Bash environment, ~/.bash_logout
- .bash_profile
- Chapter 3. The Bash environment, ~/.bash_profile
- .bashrc
- Chapter 3. The Bash environment, ~/.bashrc
- batch editor
- Chapter 5. The GNU sed stream editor, What is sed?
- break
- Chapter 9. Repetitive tasks, The break built-in
- boolean operators
- Chapter 7. Conditional statements, Boolean operations
- Bourne shell
- Chapter 1. Bash and Bash scripts,Shell types
- brace expansion
- Chapter 3. The Bash environment, Tilde expansion
- built-in commands
- Chapter 1. Bash and Bash scripts, Shell built-in commands
C[edit]
- case statements
- Chapter 7. Conditional statements, Using the exit statement and if
- character classes
- Chapter 4. Regular expressions, Character classes
- child process
- Chapter 1. Bash and Bash scripts, General
- combined expressions
- Chapter 7. Conditional statements, Expressions used with if
- command substitution
- Chapter 3. The Bash environment, Arithmetic expansion
- comments
- Chapter 2. Writing and debugging scripts, Adding comments
- conditionals
- Chapter 7. Conditional statements, Introduction to if
- configuration files
- Chapter 3. The Bash environment, Shell initialization files
- constants
- Chapter 10. More on variables, Constants
- continue
- Chapter 9. Repetitive tasks, The continue built-in
- control signals
- Chapter 12. Catching signals, Sending signals using the shell
- creating variables
- Chapter 3. The Bash environment, Creating variables
- csh
- The C shell, Chapter 1. Bash and Bash scripts, Shell types
D[edit]
- debugging scripts
- Chapter 2. Writing and debugging scripts, Debugging Bash scripts
- declare
- Chapter 10. More on variables, Using the declare built-in, Creating arrays
- double quotes
- Chapter 3. The Bash environment, Double quotes
E[edit]
- echo
- An example Bash script: mysystem.sh, script1.sh, Debugging on part(s) of the script, Using the echo built-in command
- editors
- Chapter 2. Writing and debugging scripts, Writing and naming
- else
- Chapter 7. Conditional statements, if/then/else constructs
- emacs
- Chapter 2. Writing and debugging scripts, Writing and naming
- env
- Chapter 3. The Bash environment, Global variables
- esac
- Chapter 7. Conditional statements, Using the exit statement and if
- escape characters
- Chapter 3. The Bash environment, Escape characters
- escape sequences
- Chapter 8. Writing interactive scripts, Using the echo built-in command
- /etc/bashrc
- Chapter 3. The Bash environment, /etc/bashrc
- /etc/passwd
- Chapter 1. Bash and Bash scripts, Shell types
- /etc/profile
- Chapter 3. The Bash environment, /etc/profile
- /etc/shells
- Chapter 1. Bash and Bash scripts, Shell types
- exec
- 1. Bash and Bash scripts, General, Chapter 8. Writing interactive scripts, Read and exec
- execute permissions
- Chapter 2. Writing and debugging scripts, Executing the script
- execution
- Chapter 2. Writing and debugging scripts, Executing the script
- exit
- Chapter 7. Conditional statements, Using the exit statement and if
- exit status
- Chapter 7. Conditional statements, Testing exit status
- expansion
- Chapter 1. Bash and Bash scripts, Shell expansions, Chapter 3. The Bash environment, Shell expansion
- export
- Chapter 3. The Bash environment, Exporting variables
- extended regular expressions
- Chapter 4. Regular expressions, extended regular expressions
F[edit]
- file descriptors
- Chapter 8, Writing interactive scripts, Redirection and file descriptors, Using /dev/fd
- file name expansion
- Chapter 3. The Bash environment, File name expansion
- find and replace
- Chapter 5. The GNU sed stream editor, Find and replace with sed
- for
- Chapter 9. Repetitive tasks, The for loop
- fork
- Chapter 1. Bash and Bash scripts, General
- functions
- Chapter 11. Functions
G[edit]
- gawk
- Chapter 6, What is gawk?
- gawk commands
- Chapter 6, Gawk commands
- gawk fields
- Chapter 6. The GNU awk programming language, Printing selected fields
- gawk formatting
- Chapter 6. The GNU awk programming language, Formatting fields
- gawk scripts
- Chapter 6. The GNU awk programming language, Gawk scripts
- gawk variables
- Chapter 6. The GNU awk programming language, Gawk variables
- gedit
- Chapter 2. Writing and debugging scripts, Writing and naming
- global variables
- Chapter 3. The Bash environment, Global variables
- globbing
- Chapter 2. Writing and debugging scripts, Debugging on part(s) of the script
- grep
- Chapter 4. Regular expressions, What is grep?
H[edit]
- here document
- Chapter 8. Writing interactive scripts, Here documents
I[edit]
- if
- Chapter 7. Conditional statements, Introduction to if
- init
- Chapter 1. Bash and Bash scripts, General, Example init script
- initialization files
- Chapter 3. The Bash environment, Shell initialization files
- input field separator
- Chapter 3. The Bash environment, Bourne shell reserved variables and Special parameters, Chapter 6. The GNU awk programming language, Gawk variables
- interactive editing
- Chapter 5. The GNU sed stream editor, Interactive editing
- interactive scripts
- Chapter 8. Writing interactive scripts, Displaying user messages
- interactive shell
- Chapter 1. Bash and Bash scripts, Bash startup files
- invocation
- Chapter 1. Bash and Bash scripts, Invocation
K[edit]
- kill
- Chapter 12. Catching signals, Usage of signals with kill
- killall
- Chapter 12. Catching signals, Usage of signals with kill
- ksh
- Korn shell, Chapter 1. Bash and Bash scripts, Shell types
L[edit]
- length of a variable
- Chapter 10. More on variables, Length of a variable
- line anchors
- Chapter 4. Regular expressions, Line and word anchors
- locale
- Chapter 3. The Bash environment, Locales
- locate
- Chapter 2. Writing and debugging scripts, Writing and naming
- logic flow
- Chapter 1. Bash and Bash scripts, A word on order and logic
- login shell
- Chapter 1. Bash and Bash scripts, Invoked as an interactive login shell, or with `--login'
M[edit]
- menu
- Chapter 9. Repetitive tasks, Making menus with the select built-in
- metacharacters
- Chapter 4. Regular expressions, Regular expression metacharacters
N[edit]
- nested if statements
- Chapter 7. Conditional statements, Nested if statements
- noglob
- Chapter 2. Writing and debugging scripts, Debugging on part(s) of the script
- non-interactive editing
- Chapter 5. The GNU sed stream editor, Non-interactive editing
- non-interactive shell
- Chapter 1. Bash and Bash scripts, non-interactive shell
- non-login shell
- Chapter 1. Bash and Bash scripts, Invoked as an interactive non-login shell
- numeric comparisons
- Chapter 7. Conditional statements, Numeric comparisons
O[edit]
- options
- Chapter 3. The Bash environment, Displaying options
- output field separator
- Chapter 6. The GNU awk programming language, The output field separator
- output record separator
- Chapter 6. The GNU awk programming language, The output record separator
P[edit]
- parameter expansion
- Chapter 3. The Bash environment, Command substitution
- PATH
- Chapter 2. Writing and debugging scripts, script1.sh
- pattern matching
- Chapter 4. Regular expressions, Pattern matching using Bash features
- positionalparams
- Chapter 3. The Bash environment, Special parameters, Chapter 11. Functions, Positional parameters in functions
- POSIX
- Chapter 1. Bash and Bash scripts, Bash is the GNU shell
- POSIX mode
- Chapter 1. Bash and Bash scripts, POSIX mode
- primary expressions
- Chapter 7. Conditional statements, Expressions used with if
- printenv
- Chapter 3. The Bash environment, Global variables
- printf
- Chapter 1. Bash and Bash scripts, An example Bash script: mysystem.sh, Chapter 6. The GNU awk programming language, The printf program
- process substitution
- Chapter 3. The Bash environment, Word splitting
- .profile
- Chapter 3. The Bash environment, ~/.profile
- prompt
- Chapter 3. The Bash environment, Changing shell configuration files
Q[edit]
- quoting characters
- Chapter 3. The Bash environment, Quoting characters
R[edit]
- redirection
- Executing commands, Changing options, Redirection and file descriptors, Input redirection
- rbash
- Chapter 1. Bash and Bash scripts, The restricted shell
- read
- Using the read built-in command
- readonly
- Chapter 10. More on variables, Constants
- regular expression operators
- Regular expression metacharacters, Interactive editing, Special patterns
- regular expressions
- Chapter 4. Regular expressions, Regular expressions
- remote invocation
- Chapter 1. Bash and Bash scripts, Invoked remotely
- removing aliases
- Chapter 3. The Bash environment, Creating and removing aliases
- reserved variables
- Chapter 3. The Bash environment, Reserved variables
- return
- Chapter 11. Functions, Positional parameters in functions
S[edit]
- sed
- Chapter 5. The GNU sed stream editor
- sed editing commands
- Chapter 5. The GNU sed stream editor, sed commands
- sed options
- Chapter 5. The GNU sed stream editor, sed commands
- sed script
- Chapter 5. The GNU sed stream editor, Writing output files
- select
- Chapter 9. Repetitive tasks, Making menus with the select built-in
- set
- Local variables, Displaying options, Displaying functions
- shift
- Chapter 9. Repetitive tasks, The shift built-in
- signals
- Chapter 12. Catching signals
- single quotes
- Chapter 3. The Bash environment, Single quotes
- source
- Chapter 2. Writing and debugging scripts, Executing the script
- special parameters
- Chapter 3. The Bash environment, Special parameters
- special variables
- Chapter 3. The Bash environment, Special parameters
- standard error
- Chapter 8. Writing interactive scripts
- standard input
- Chapter 8. Writing interactive scripts
- standard output
- Chapter 8. Writing interactive scripts
- string comparisons
- Chapter 7. Conditional statements,String comparisons
- stty
- Chapter 12. Catching signals, Introduction
- submenu
- Chapter 9. Repetitive tasks, Submenus
- subshell
- Chapter 2. Writing and debugging scripts, Which shell will run the script?
- substitution
- Chapter 10. More on variables: Substitution, Replacing parts of variable names
- substring
- Chapter 10. More on variables, Removing substrings
- syntax
- Chapter 1. Bash and Bash scripts, Shell syntax
T[edit]
- tcsh
- Chapter 1. Bash and Bash scripts, Shell types
- terminology
- Chapter 1. Bash and Bash scripts, Terminology
- then
- Chapter 7. Conditional statements, Commands following the then statement
- tilde expansion
- Chapter 3. The Bash environment, Shell parameter and variable expansion
- transformation of variables
- Chapter 10. More on variables, Transformations of variables
- traps
- Chapter 12. Catching signals
- true
- Chapter 9. Repetitive tasks, Nested while loops
U[edit]
- unalias
- Chapter 3. The Bash environment, What are aliases?, Creating and removing aliases
- unset
- Creating variables, Deleting array variables, Displaying functions
- until
- Chapter 9. Repetitive tasks, The until loop
- user input
- Chapter 8. Writing interactive scripts, Using the read built-in command, Prompting for user input
- user messages
- Chapter 8. Writing interactive scripts, Interactive or not?
V[edit]
- variables
- Chapter 3. The Bash environment, Variables, Chapter 10. More on variables
- variable expansion
- Chapter 3. The Bash environment, Command substitution
- verbose
- Chapter 2. Writing and debugging scripts, Debugging on part(s) of the script
- vi(m)
- Chapter 2. Writing and debugging scripts, Writing and naming
W[edit]
- wait
- Chapter 12. Catching signals, How Bash interprets traps
- whereis
- Chapter 2. Writing and debugging scripts, Writing and naming
- which
- Chapter 2. Writing and debugging scripts, Writing and naming
- while
- Chapter 9. Repetitive tasks, The while loop
- wildcards
- Chapter 4. Regular expressions, Wildcards
- word anchors
- Chapter 4. Regular expressions, Line and word anchors
- word splitting
- Chapter 3. The Bash environment, File name expansion
X[edit]
- xtrace
- Chapter 2. Writing and debugging scripts, Debugging on the entire script, Debugging on part(s) of the script