Spawn TTY Shell Python python -c 'import pty; pty.spawn("/bin/sh")' Bash /bin/sh -i Perl perl —e 'exec "/bin/sh";'