spark
curl -fsSL https://github.com/forgewright-ai/spark/releases/latest/download/get | sh

Learn/spark 101/Lesson 2

Lesson 2 of 11 · 0:50

When a command fails

Esc s for why. Again for the fix.

Try it at your prompt

The lines from the lesson, as they were typed. Use your own words.

  1. 1

    A command failed? Press Esc, then s. Enter, and spark says why.

    tar -xzf notes.tgzEnterEsc sEnter
  2. 2

    Esc s again: the fix lands in your line.

    Esc sEnter
    ls notesEnter
  3. 3

    Any error works too. Pipe it to explain.

    git pushh 2>&1 | explainEnter

New to spark? Install it, it takes one line. Questions go to the discussions.