인문지식 처리와 프로그래밍2020 5.21

soook
Soook (토론 | 기여) 사용자의 2020년 5월 21일 (목) 17:08 판 (새 문서: <pre> login as: soook soook@dh.aks.ac.kr's password: Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-72-generic x86_64) * Documentation: https://help.ubuntu.com * Management: h...)

(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
이동: 둘러보기, 검색
login as: soook
soook@dh.aks.ac.kr's password:
Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.4.0-72-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

722 packages can be updated.
0 updates are security updates.

New release '18.04.4 LTS' available.
Run 'do-release-upgrade' to upgrade to it.


Last login: Fri Mar 13 10:57:30 2020 from 125.132.153.101
soook@dh:~$ ls
public_html
soook@dh:~$ cd public_html
soook@dh:~/public_html$ ls
cgi-bin  graph  mediawiki-1.27.4.tar.gz  pavilion  SoookArt  wiki
soook@dh:~/public_html$ ls
cgi-bin  graph  mediawiki-1.27.4.tar.gz  pavilion  SoookArt  wiki
soook@dh:~/public_html$ dir
cgi-bin  graph  mediawiki-1.27.4.tar.gz  pavilion  SoookArt  wiki
soook@dh:~/public_html$ cd ..
soook@dh:~$ ls
public_html
soook@dh:~$ cd public_html
soook@dh:~/public_html$ ls
cgi-bin  graph  mediawiki-1.27.4.tar.gz  pavilion  SoookArt  wiki
soook@dh:~/public_html$ cd cgi-bin
soook@dh:~/public_html/cgi-bin$ ls
soook@dh:~/public_html/cgi-bin$ ls Hello.py
Hello.py
soook@dh:~/public_html/cgi-bin$ chmode + rwx Hello.py
No command 'chmode' found, did you mean:
 Command 'chmod' from package 'coreutils' (main)
chmode: command not found
soook@dh:~/public_html/cgi-bin$ ch m
ch: command not found
soook@dh:~/public_html/cgi-bin$ ch mode +rwx Hello.py
ch: command not found
soook@dh:~/public_html/cgi-bin$ cdmod +rwx Hello.py
No command 'cdmod' found, did you mean:
 Command 'chmod' from package 'coreutils' (main)
cdmod: command not found
soook@dh:~/public_html/cgi-bin$ chmod +rwx hello.py
chmod: cannot access 'hello.py': No such file or directory
soook@dh:~/public_html/cgi-bin$ ls
Hello.py
soook@dh:~/public_html/cgi-bin$ chmod +rwx Hello.py
soook@dh:~/public_html/cgi-bin$ ls
Hello.py
soook@dh:~/public_html/cgi-bin$ python Hello.py
Content-type:text/html



<html>
<head>
<title>Hello Word - First CGI Program</title>
</head>
<body>
<h2>Hello Word! This is my first py CGI program</h2>
</body>
</html>