When this happens, I feel like this
reset
is your friend. Less so these days with GUIs where it’s often quicker to close the window and open a new terminal emulator, but still good to know about in a pinch. That rare occasion where you’re actually on a console and Ctrl-Alt-F# isn’t available, or attached to a remote session where disconnection might mean you can’t get back on, etc.The man page suggests Control-J
reset
Control-J as the correct sequence to run it, because the Enter key might have had its behaviour altered. And if things are still slightly weird after thereset
, run its parenttset
.What a nice folder of mostly text files, would be a shame if someone did a
cat *
without checking to make sure it doesn’t have a 2GB encrypted game asset archive in it.Try head, tail, or pipe to less.
Or
bat
, which will just print<binary>
in those cases