The Bash Programming Language

Published on 02 May 2020 (Updated: 11 May 2022)

The Bash Programming Language

Welcome to the Bash page! Here, you'll find a description of the language as well as a list of sample programs in that language.

Description

Bash is a command language first released back in 1989. Despite its age, Bash is still heavily maintained with changes tracked in git.

In terms of features, Bash supports variables, piping, globbing, control flow, and even iteration. Of those features, perhaps the coolest is globbing, also known as wildcard matching. Globbing can be used to retrieves sets of files that match a wildcard expression.

Beyond that, Bash is ubiquitous in the Linux/Unix/Mac communities. After all, it's the standard shell on most systems. In fact, it even has support on Windows 10. That means shell scripts are fairly portable. However, users will have to pay attention to code that doesn't conform the Bourne shell standards.

You'd be hard pressed to find a popular system that doesn't support Bash today. Even Jenkins, a continuous integration utility, supports Bash scripting during builds.

Articles