The story
From the visual representation of the terminal encoding of the keypress Ctrl-W, the "delete back to whitespace" command in GNU readline, which is commonly available in GNU shells and other command-line utilities.
Etymology from Wiktionary, CC BY-SA 4.0.