← Back to all notes

My feelings about BASH

Dummy note about bash

Reasons why I love bash

  • avaliable on almost all *NIX systems
  • integrates easily with avaliable programs installed
  • allows quick iteration for one off scripts

Reasons I dislike bash

  • arrays (ugh)

Some example bash

#!/bin/bash

days=(31)
echo "Number of days doubled: $((days * 2))"

# Output:
# Number of days doubled: 62