Problem: When pasting commandos to the shell, the shell no longer executes the command but shows the pasted text highlighted and shows the line feed but does not process it.
Discussion: Devuan4 and Debian11 upgraded the readline library with a new default “feature” that should prevent noobs from accidentally pasting commands into the shell. But professionals want to be able to paste commands into the shell.
Solution: Add this line to ~/.inputrc
set enable-bracketed-paste Off