Upgrading Shells

Upgrading shell

python method

python -c 'import pty; pty.spawn("/bin/bash")'

script method

SHELL=/bin/bash script -q /dev/null

common stuff

Also, make sure to use / test with sh, bash, etc. and python, python2, python3

Finally, adjust size, where X and Y are your own values :

stty rows X columns Y