User:Pleun/pt/python notes: Difference between revisions
No edit summary |
No edit summary |
||
Line 29: | Line 29: | ||
node: way to bring javascript to the server | node: way to bring javascript to the server | ||
echo $HOME | |||
echo $PWD | |||
echo $USER |
Latest revision as of 18:38, 17 November 2015
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