User:Pleun/pt/python notes

From XPUB & Lens-Based wiki

pleun@pzivm01:~$ who
pleun@pzivm01:/var/www/html/images$ cacaview catzilla.jpg
pleun@pzivm01:~$ figlet -f script TEXT | nwrite USERNAME
showfigfonts

pleun@pzivm01:~$ figlet | write USERNAME
pleun@pzivm01:~$ date +%A
pleun@pzivm01:~$ whoami


http://pzwart1.wdka.hro.nl/pad/p/PIL

http://pzwart1.wdka.hro.nl/pad/p/Social_shell

http://pzwart1.wdka.hro.nl/pad/p/prototyping


cgi: instead of serving it's going to run python.

Apache = server MySQL = database

Python cgi can do almost anything PHP does. PHP was custom made for dynamic webpages.

LAMP software bundel = Linux + Apache + PHP + MySQL

node: way to bring javascript to the server

echo $HOME echo $PWD echo $USER