Interactive Shell
python -c 'import pty;pty.spawn("/bin/bash")'
python3 -c 'import pty;pty.spawn("/bin/bash")'
echo os.system('/bin/bash')
/bin/sh -I
script -qc /bin/bash /dev/null
perl -e 'exec "/bin/sh";'ctrl-z
echo $TERM
stty raw -echo
fg
reset
export SHELL=bash
export TERM=screen-256color
stty rows 61 columns 205Last updated