Main

Bash

Unix shell programming

Reference: Chapter 2 (Beginner's Guide To Linux) from Sventek (Canvas); getting started with bash

  • In (relatively) recent news
  • Bourne shell (sh) is a shell, or command-line interpreter, for computer operating systems. It was developed by Stephen Bourne at Bell Labs and released in 1977.
  • Bash (the Bourne-Again shell) was later developed for the GNU project. Bash incorporates features from the Bourne shell, csh, and ksh.
  • A much longer Bash Introduction (also see schedule)
  • Important concepts:
    • Variables: environment and local
    • Input and output redirection
    • Pipes
    • Signals
    • Operators
    • Control flow (conditionals, loops)
  • Examples

Hello world script in Bash

Reference: Bash hello world

Green Marinee theme adapted by David Gilbert, powered by PmWiki