ShellStabilize

With Python

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

ctrl + z

stty raw -echo;fg
stty rows 47 columns 211
export TERM=xterm-256color
alias l="ls -lath --color"

oneliner

stty rows 47 columns 211;export TERM=xterm-256color;alias l="ls -lath --color"

With script

script /dev/null -c bash
stty raw -echo; fg; stty rows 47 columns 211; export TERM=xterm-256color; alias l='ls -lath --color'

Last updated