Bash syntax

  Parameters    Shell parameters
  Variables     Environment variables
  Arrays        Array Variables
  Permissions   Allow or Deny actions
  Redirection   Spooling to and from files
  Pipes         Redirect the output from one command as input for another

Looping constructs:

  if-then-else Conditionally perform a command
  for          Expand words, and execute commands
  until        Execute commands (until error) 
  while        Execute commands

The break and continue builtins may be used to control loop execution.

Evaluating expressions:

  Using brackets to Group and expand expressions
  Conditional Execution Chain commands to run one after another (AND/OR)
  Conditional expressions
  Arithmetic expressions
  Shell expansion and Pattern matching (Wildcards) 
  Escape Chars, delimiters and Quotes
  Command Substitution

Working with the bash Shell:

  Run a bash shell script
  vi editor     vi commands
  Here documents and Here Strings
  Keyboard      Cursor control - Cut & paste 
  Job Control   Suspend and resume a process
  .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

Note that wherever a `;' appears in the description of a command's syntax, it may be replaced with one or more newlines.


© Copyright SS64.com 1999-2014
Some rights reserved