1. Interpreter

1.1. Configuration files

  • ~/.profile
  • ~/.bashrc
  • ~/.bash_logout
  • /etc/bashrc

1.2. Locale

  • $LANG
  • /etc/locale

1.3. Autocompletion

1.4. New lines

  • “\n”

1.5. #!/bin/bash

  • A.K.A shebang or hashbang
  • Interpretes script as /bin/bash source code

1.6. bash -x

  • shows execution steps

1.7. Comments

  • # at the beginning of the line

1.8. Inline comments

  • # in the middle of the line