CasualTee

joined 2 years ago
[–] CasualTee@beehaw.org 9 points 3 days ago (2 children)

When running cat this way, you are in "cooked mode". A ctrl-d does nothing on a non-empty line.

The shell usually runs in non-cokked, or raw, mode as well as nonblocking mode. Where it sees (nearly) every key you press as you press them. Which is why it " sees" the ctrl-d even when you are not on an empty line.

You can learn more here: