BASH: using functions, with examples
15 January 2023This 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 »