Categorieën
python Uncategorized

Python

SimpleHTTPServer

  • python -m SimpleHTTPServer 4343 (default 8000)

SHELL

  • python -c ‘import pty;pty.spawn(“/bin/bash”)’
  • stty raw -echo //now push enter enter once type fg enter enter twise

*check rows & colums stty -a stty rows 34 cols 136

export TERM=xterm