Table of Contents
bash
Nützlichkeiten
Rechnen mit der bash
$((1 + 1))
Preset-Variablen in der bash
- ${?}: Returncode des letzten ausfgeführten Programms
Template für bash-scripts
- template.bash
#!/bin/bash #Usage: scriptname and arguments/options #Purpose: short description #Responsible: name of author <email> #Licence: as far as possible GPL v2 #user-definable vars # #do not mess behind this line # #preset vars #functions #main part #clean up