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.
Shell variables Default Shell variables and bash variables.
Local variables Create an environment variable.

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
Command Substitution
Escape Characters, delimiters and Quotes
File operators/Comparisions - exists, greater than,-a, -nt
Shell expansion { } $ ~ &{} $()
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-2025 SS64.com
Some rights reserved
Morty Proxy This is a proxified and sanitized view of the page, visit original site.