In an interactive shell session, how do I copy to clipboard text that was cut with Ctrl+U? Without using the mouse, obviously. Thus making it available for other GUI applications, instead of pastable only with Ctrl+Y only in the terminal where the Ctrl+U was issued.
Update: added bash tag to cover answers involving bash-only solutions.