If I type for example
grep 'needle >
I get sent to a mysterious
> prompt from which ctrl-C (or restarting the terminal) is seemingly the only escape.
- What is this prompt?
- Why doesn't it terminate when I enter ctrl-Z?
- Why isn't it better designed to detect trapped newbies? Sure, maybe in some ridiculously contrived edge case there would be a reason to open this
>prompt and then input something like
"quit\nexit\nhelp\nCTRL-Z\nlogout\n", but if the user starts entering those things, Ubuntu should at least issue a helpful response message (e.g., "Are you trying to get out of this prompt? If so use CTRL-C. If not, ignore this message.") that wouldn't interfere with whatever weird purpose the prompt serves.