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. Lesson 1 · On the house

    nounset + defaults

    ${var:-}

  2. Lesson 2

    indirect expansion

    ${!name}

  3. Lesson 3

    FD juggling

    exec redirects.

  4. Lesson 4

    security: quoting

    Word splitting landmines.

  5. Lesson 5

    security: injection

    Don't eval user input.

  6. Lesson 6

    performance

    Builtins vs externals.

  7. Lesson 7

    namespaces / subshells

    ( ) vs { }.

  8. Lesson 8

    DEBUG trap / xtrace

    Tracing execution.

  9. Lesson 9

    completions sketch

    compgen / complete.

  10. 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