Ctrl+P in Docker container

I strive to be efficient on the command line, and some of my favourite keyboard shortcuts in Bash are the ones that allows me to navigate and execute previous commands easily. Some of which are back and forward through the command history with Ctrl+P and Ctrl+N combined with Ctrl+J for executing the command. The problem This is all well and good until you jump in to a Docker container and suddenly Ctrl+P isn’t working as expected anymore. ...

July 21, 2024 · 2 min · David Isaksson