Stabilize Stabilize a shell Bashpython3 -c'import pty;pty.spawn("/bin/bash")' # ctrl+z stty raw -echo; fg Sources Upgrading Simple Shells to Fully Interactive TTYs