Stabilizing shell
Stabilize your shell:
Import pty module and spawn bash shell
python3 -c 'import pty;pty.spawn("/bin/bash")'Press
CTRL + Zto background process and get back to your host machineUse stty command to set terminal line settings and foreground back the target terminal
stty raw -echo; fgSet the terminal emulator to xterm:
export TERM=xtermPress Enter
Last updated