Skip to main content

Shell Scripting and Dotfiles

Use this page when you are ready to turn repeated setup or workflow steps into something reproducible.

Core Ideas​

  • a shell script is a file containing commands
  • sh file.sh explicitly selects the interpreter and needs no executable bit; direct execution such as ./file.sh normally needs executable permission and an appropriate shebang
  • dotfiles store configuration for shells, editors, Git, SSH, and related tools
  • reproducibility matters more than heavy customization
  • a small bootstrap script is often enough for the first version

Best Local Sources​