bash
Links
- http://wiki.bash-hackers.org/doku.php
- http://tldp.org/LDP/abs/html/
- http://mywiki.wooledge.org/BashPitfalls
- http://www.kfirlavi.com/blog/2012/11/14/defensive-bash-programming
- http://redsymbol.net/articles/unofficial-bash-strict-mode/
- https://github.com/dylanaraps/pure-sh-bible
- https://mywiki.wooledge.org/BashGuide
Vim Mode
set -o viCheat Sheet: http://www.catonmat.net/download/bash-vi-editing-mode-cheat-sheet.pdf
Farben
PS1=${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\]
PS1=${debian_chroot:+($debian_chroot)}\[\033[00;32m\]\u@\h\[\033[00;34m\] \w \$\[\033[00m\]
Debug
- bash -x script
Hide Output
scriptname >/dev/null 2>&1