Final answer:
In many text editors and command-line interfaces, the keyboard shortcut to delete all text from the cursor to the beginning of the line is Ctrl + U.
Step-by-step explanation:
The keyboard shortcut that deletes all text from the cursor to the beginning of the line in many text editors and command-line interfaces is Ctrl + U. This command clears the current line of text up to the cursor, and it's quite handy when editing commands in a terminal or correcting mistakes made while typing. Other options listed such as Ctrl + Y, Ctrl + K, and Ctrl + D serve different functions. Specifically, Ctrl + Y is often used for redoing an action or pasting text from the clipboard, Ctrl + K is commonly used to delete text from the cursor to the end of the line, and Ctrl + D is used for bookmarking in some applications or sending an EOF (End Of File) signal in terminal sessions.