Lessons

Bash · Expert

Bash · Expert. Ten lessons. Open-book quizzes. Lesson 1 free.

10 lessons · The Host · Lesson 1 free

Pass all ten lessons for the certificate. Sample · Claim

  1. nounset + defaults

    Lesson 1 · On the house

    nounset + defaults

    ${var:-}

  2. indirect expansion

    Lesson 2

    indirect expansion

    ${!name}

  3. FD juggling

    Lesson 3

    FD juggling

    exec redirects.

  4. security: quoting

    Lesson 4

    security: quoting

    Word splitting landmines.

  5. security: injection

    Lesson 5

    security: injection

    Don't eval user input.

  6. performance

    Lesson 6

    performance

    Builtins vs externals.

  7. namespaces / subshells

    Lesson 7

    namespaces / subshells

    ( ) vs { }.

  8. DEBUG trap / xtrace

    Lesson 8

    DEBUG trap / xtrace

    Tracing execution.

  9. completions sketch

    Lesson 9

    completions sketch

    compgen / complete.

  10. Expert capstone

    Lesson 10

    Expert capstone

    Tempdir with trap.

Sample certificate

Certificate of completion

Sign in to claim your certificate of completion.

Certificate

Finish all ten lessons, then sign in

Pass every lesson on this device (quizzes and checks). Then sign in or create an account to type your name and download the JPG.

All lessons

Bash · Expert — The Gold Standard