Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
39 lines (31 sloc) 516 Bytes

Interpreter

Configuration files

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

Locale

  • $LANG
  • /etc/locale

Autocompletion

New lines

  • "\n"

#!/bin/bash

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

bash -x

  • shows execution steps

Comments

  • # at the beginning of the line

Inline comments

  • # in the middle of the line