Created
February 22, 2021 03:01
-
-
Save Rajchowdhury420/270d1e8af5e380bbeb2789a12cb730db to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Upgrade Shell | |
python3 -c'import pty; pty.spawn("/bin/bash")' | |
Background Session with ctrl + z | |
stty raw -echo | |
stty -a | |
get row & col | |
stty rows X columns Y | |
Set rows and cols | |
Foreground Session again | |
fg #jobnumber | |
export XTERM=xterm-color | |
enable clear |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment