Bash-Scripting

Recent Posts

Calculate in bash

  • If you want to calculate with an integer it's possible without using other programs.

Check for empty variables

  • If you want to check for a empty bash variable you can do this like given here:

Bash - Parameters

  • The first parameter passed to the script is $1, the second $2 and so on
  • If you want to to check more then one possibilities of parameter passed to the script then a case is useful

Bash - Functions

  • How to use functions in bash