The guide has been divided into sections, which are intended to be read roughly in the order presented. If you skip ahead to a specific section, you might find yourself missing some background information from previous sections. (Links to relevant sections are not always provided when a topic is mentioned.)

  • Commands and Arguments

    • Types of commands; argument splitting; writing scripts.
  • Special Characters

  • Parameters

    • Variables; special parameters; parameter types; parameter expansion.
  • Patterns

    • Globs; filename matching; extended globs; brace expansion; regular expressions.
  • Tests and Conditionals

    • Exit status; && and ||; if, test and [[; while, until and for; case and select.

  • Arrays

    • Arrays; associative arrays.
  • Input and Output

    • Redirection; here documents; here strings; pipes; process substitution.
  • Compound Commands

    • Subshells; command grouping; arithmetic evaluation; functions; aliases.
  • Sourcing

    • Reading commands from other files.
  • Job Control

  • Practices

    • Choosing your shell; quoting; readability; debugging.

Plataforma