Add to .profile or .bashrc bind -x '"\C-k": printf "\033[H\033[2J\033[3J"' Then run source .profile or source .bashrc