Tag Archives: bash

Bash is the GNU Project’s shell – the Bourne Again SHell. This is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and the C shell (csh). It offers functional improvements over sh for both programming and interactive use. In addition, most sh scripts can be run by Bash without modification.

BASH: using functions, with examples

15 January 2023
 

 This a translation of a post from 2013 with some edits, but still relevant for learning BASH. In fact, a function in bash is a regular variable, but with more features. The main use is when the same code needs to be used several times and/or in different related scripts. Declaring and calling a function The… Read More »