Overview

According to Robbins a POSIX-compliant shell (like Bash) generally has the primary and secondary prompts denoted with $ and > respectively. Adjust these values using environment variables $PS1 and PS2 respectively.

Paths supplied to commands are typically “sanitized” by prefixing the path name with ./. This is mentioned in a few different places:

  • find -execdir performs this prefixing automatically on all found files.
  • awk ambiguously interprets a file named e.g. count=1 as variable assignment. Should write $ awk -f program.awk ./count=1.

Bibliography