It is generated by holding Ctrl and pressing the Y key on most computer keyboards.
In most Windows applications this keyboard shortcut functions as Redo, reversing a previous Undo.
Many programs (on all systems including Linux) support both Ctrl+Y and Ctrl+⇧ Shift+Z for Redo to resolve this conflict.
Ctrl+Y deleted the current line in the WordStar word processor for CP/M and MS-DOS.
[3] In the 1980s, many text editors and word processors mimicked the WordStar command set, making Ctrl+Y a common synonym for "delete line."