Presentation is loading. Please wait.

Presentation is loading. Please wait.

00-05-261 Chapter 40Classic Applications. 00-05-262 Contents UNIX Shell Accounts Logging in to Internet Hosts by Using Telnet Getting Information About.

Similar presentations


Presentation on theme: "00-05-261 Chapter 40Classic Applications. 00-05-262 Contents UNIX Shell Accounts Logging in to Internet Hosts by Using Telnet Getting Information About."— Presentation transcript:

1 00-05-261 Chapter 40Classic Applications

2 00-05-262 Contents UNIX Shell Accounts Logging in to Internet Hosts by Using Telnet Getting Information About People and Internet Hosts by Using Finger The Web’s Predecessor : Gopher

3 00-05-263 UNIX Shell Accounts 80 년대에 Internet 을 이용하기 위해서는 Internet host computer 에 접속해야 함.( terminal 이나 terminal emulator 이용 ) shell account –changing password –deleting stray e-mail messages –organizing Web site files 대부분의 Internet host computer 들은 UNIX operating system 을 사용하므로 shell account 를 사용하기 위해서는 UNIX 에 대해 알아야 함.

4 00-05-264 Running a Terminal Emulator (1) PC 나 Mac 에서 UNIX shell account 에 연결하기 위 해서 terminal emulator 이용 –HyperTerminal(Windows 9x, NT), MacTerminal(Mac) Configuring HyperTerminal for Your Shell Account –Start | Programs | Accessories | Communications | HyperTerminal

5 00-05-265 Running a Terminal Emulator (2) Connecting with HyperTerminal – 이미 연결을 설정해 놓았을 때 : open the icon for the connection –HyperTerminal 이 이미 실행 중일 때 : File | Open, Call | Call –HyperTerminal 을 다 사용한 후에는 반드시 log out – 연결을 마칠 때 : Call | Disconnect or disconnect icon

6 00-05-266 Logging In, Typing Commands, and Logging Out Logging In –shell account 에 접속하려면 user name 과 password 필 요 ( 대소문자 구분 ) Typing UNIX Commands –UNIX shell prompt : command 를 입력하고 ENTER 키 를 입력, 보통 $ 나 % 로 표시 –UNIX command + additional information ( 예 : ls -al) – 대소문자 구분, 잘못 입력했을 때는 BACKSPACE, DELETE, CTRL+H, 필요 없는 빈칸이나 구두점은 사용하지 않음 Logging Out –type exit or logout, or press CTRL+D

7 00-05-267 E-mail, the Web, and Usenet E-mail : pine, elm 등 Web browser : Lynx – 그림을 보여 줄 수 없고, 소리도 들려주지 못하나 텍 스트에는 잘 동작 Usenet newsreaders : trn, tin, rn telnet, finger 등

8 00-05-268 Working with Files on Your Shell Account UNIX system 은 hierarchical directory 들 유지 사용자는 자신의 home directory 에 file 저장 가능 current directory : 현재 작업중인 directory Listing Your Files –ls : see a list of the files in the current directory 각 열에서 아래로 내려가면서 알파벳 순서로 정렬됨 더 자세한 정보를 보기 위해서는 -l option 사용 permission : d(directory), r(read), w(write),x(execute) owner, group owner, size(bytes), date and time, file name

9 00-05-269 Changing the Current Directory –cd(chdir)+space+name of directory –pwd(printing working directory) : current directory 의 full name 을 보여줌 Renaming, Copying, and Deleting Files –renaming mv+space+current file name+space+new file name –copying cp+space+name of file you want to copy+space+new file name –deleting rm+space+the name of the file you want to delete 사용자에게 확인하지 않음 more : 텍스트 파일 내용 확인

10 00-05-2610 Displaying File Permissions –permission : control who can do what with each file or directory –read, write, execute permission – 사용자가 속한 그룹을 알아내기 위해서는 : id –“ls -l” 을 이용하여 permission 을 보면 맨 처음에 나오는 d 는 디렉토리, 아니면 파일 다음부터는 순서대로 3 문자씩 각각 사용자, 파일을 소유하 고 있는 그룹에 소속된 사람들, 그 외 다른 사람들 의 read, write, execute 권한 표시 예 : -rwxr-x--x : owner 는 모두 가능, 다음은 읽기와 실행만 가능, 다른 사람들은 실행만 가능 Changing File Permissions –chmod permissions filename

11 00-05-2611 – 변경하고자 하는 permission 은 u(user owner), g(group), o(other), or a(all) +, -(add or remove permission) r(read), w(write),or x(execute) 예 ) chmod g+w index.html – 파일을 소유하는 그룹을 변경할 때 chgrp groupname filename Hidden Files That Control Your Account –UNIX shell account 를 제어하는 hidden file 은. 으로 시작, -a 옵션을 이용할 때 볼 수 있음.forward : forward all mail to another account on the Internet.project,.plan : “finger” 의 결과 제어.login,.profile,.cshrc : shell account 처음 login 했을 때 제어.mail,.pinerc,.elm : e-mail setting 제어

12 00-05-2612 Transferring Files to and from Your UNIX Shell Account UNIX system 과 PC 나 Mac 사이의 여러 file transfer protocol(Xmodem, Kermit, Ymodem, Zmodem) 존재 Sending a File Using HyperTerminal 1. connect to your shell account 2. Click the Send button or choose Transfer|Send File 3. Type the name of the file 4. Set the Protocol box to Zmodem 5. Click the Send button

13 00-05-2613 Receiving a File Using HyperTerminal 1. Connect to your shell account 2. Try transferring the file using Zmodem sz(Xmodem 은 sx) filename 3. Zmodem 을 제외한 다른 protocol 을 이용하여 전송할 때는 Receive button 을 누르거나 Transfer | Receive File 선택 4. Type the path name of the folder 5. Set the Use Receiving Protocol setting to the file transfer protocol you used in step 2 6. Click the Receive button Changing Your Password –passwd

14 00-05-2614 Logging in to Internet Hosts by Using Telent Telnet 은 Internet 을 통해 다른 컴퓨터에 접속할 수 있게 해주는 service program connect to the Internet →run a telnet program →tell it to connect to the host computer 몇몇 host 들은 public access 를 제공하지만 대부 분의 host 들은 계정을 가진 사용자만 이용 가능 대부분의 ISP 들과 Web hosting service 들도 Internet 계정 보유자들이 telnet 을 이용한 접속 서비스 제공

15 00-05-2615 Telnetting by Using the Windows 98/95 Telnet Program Running the Windows 98/95 Telnet Program –Start | Run 에서 telnet 입력 –Connect | Remote System Configuring the Windows 98/95 Telnet Program –Terminal | Preferences –Local Echo –Appearance –Emulation –Buffer size Other Windows 98/95 Telnet Commands –cut and paste by using the Windows Clipboard –capture the text tat appears in the Telnet window by choosing Terminal | Start Logging

16 00-05-2616 Telnetting with HyperTerminal –connect using TCP/IP(winsock), along with port number(23) Telnetting from UNIX –UNIX shell account 를 사용한다면 telnet hostname –host computer 와 연결되는 과정에서 escape character 를 보여줌 – 연결된 후에는 telnet program 은 host computer 에서 나오는 text 를 보여 주고, 사용자의 keystroke 을 host computer 에 전달

17 00-05-2617 Getting Information About People and Internet Hosts by Using Finger Finger : one of the early Internet services that allowed you to find out about computer or people on the Internet(finger hostname, finger e-mail address) host computer 나 사용자의 일반적인 정보를 보여 줌 Login name: jinhee In real life: Park Jin-Hee Directory: /home1/ir_team/jinhee Shell: /bin/tcsh On since May 26 09:18:52 on pts/0 from 164.125.25.81 Unread mail since Thu May 25 21:40:25 2000 No Plan. Fingering from UNIX finger @hostname finger username@hostname Controlling What Finger Says About You –edit the.plan and.project file in home directory

18 00-05-2618 The Web’s Predecessor : Gopher Gopher : Internet-based distributed system of information, like Web menu 형식으로 정보를 보여 줌 Gopherspace 가 증가함에 따라 정보를 찾기 힘 들지게 됨 →Veronica 와 같은 search system 개 발 Web 이 gopher 의 기능을 대신하게 되어서 거의 사용하지 않음

19 00-05-2619


Download ppt "00-05-261 Chapter 40Classic Applications. 00-05-262 Contents UNIX Shell Accounts Logging in to Internet Hosts by Using Telnet Getting Information About."

Similar presentations


Ads by Google