User:Pleun/pt/python notes: Difference between revisions
(Created page with "pleun@pzivm01:~$ who <br /> pleun@pzivm01:/var/www/html/images$ cacaview catzilla.jpg <br /> pleun@pzivm01:~$ figlet -f script TEXT | nwrite USERNAME <br /> showfigfonts <br /...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
pleun@pzivm01:~$ date +%A <br /> | pleun@pzivm01:~$ date +%A <br /> | ||
pleun@pzivm01:~$ whoami <br /> | pleun@pzivm01:~$ whoami <br /> | ||
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 |
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