To exit from the lxc-console in Linux, you can use the "Ctrl+a" followed by the "q" key as a keyboard shortcut. This will exit the console and return you to the command prompt.
Alternatively, you can use the "Ctrl+]", "Ctrl+6", or "Ctrl+Shift+6" keys as keyboard shortcuts to exit from the console.
Note: The lxc-console command is used to connect to the console of a Linux Container (LXC) running on the system. It allows you to interact with the container as if you were logged in to a separate system. If you are running multiple containers on the system, you can use the "--name" option to specify the container you want to connect to.