Bash How-to guides and examples

Arguments Shell parameters.
Array variables  Array Variables.
Functions Define Function Macros.
Permissions Allow or Deny actions.
Redirection Spooling to and from files.
Pipes Redirect the output from one command as input for another.
Variables bash Shell variables and environment variables.

Looping constructs:

if then else  Conditionally perform a command.
for Expand words, and execute commands.
until Execute commands (until error).
while Execute commands.
break Control loop execution.
continue Control loop execution.

Evaluating expressions:

Arithmetic expressions.
Using brackets to Group and expand expressions.
Conditional Execution commandA AND/OR commandB
Escape Characters, delimiters and Quotes
File operators/Comparisions - exists, greater than,-a, -nt
Command Substitution $(command)
Shell expansion ${parameter:-word}
{ } $ ~ &{} $()
Wildcards Pattern matching.

Working with the bash Shell:

Run script Run a bash shell script.
Here documents  and Here Strings.
Job Control Suspend and resume a process.
Keyboard Cursor control - Cut & paste.
.bashrc Startup files (Startup scripts and Aliases).
.inputrc Startup files (Set Key bindings and Tab completion).
Prompt Prompt variable.
### Comment / Remark.
BashBangSplat Pronunciation guide for Unix.
vi editor vi commands.
Terminal The difference between a Terminal, a Shell and a Console.
Xterm colours 256 Colors for the XTerm prompt (console).

The pronounciation for Linux is 'Lyn-ux' not 'Line-ux' Listen to Linus.

See also: Websites, Books, OS Downloads, Apps & Utilities for GNU/Linux.


 
Copyright © 1999-2026 SS64.com
Some rights reserved