========================================== Unix Lab 1 (Preparation for Assignment #4) ========================================== - Prepared by Ian Allen - idallen@ncf.ca This is basic material you will need to do all the Assignments in the Unix part of this course. You need to read Chapter 1.1 and 1.2 for this Lab. 1. Find TELNET Find and know how to run the TELNET program on your Windows computer. 2. Know the RULES Read the "Three Basic Rules" section of the Using Telnet web page. Identify and memorize the Three Basic Rules for using TELNET. 3. Set up TELNET on Windows Read the "On Windows 95" section of the Using Telnet web page. In TELNET, set your: Terminal | Preferences In TELNET, set your: Connect | Remote System 4. Log In and Log Out Follow the directions in Chapter 1.1 for logging in at the login: prompt. Enter your student PIN as the password. Learn how to Log Out again (Chapter 1.1). 5. Who is Online? Lear how to run the "who" command (Chapter 1.2). 6. Set up UNIX to work with TELNET Read the "On Unix" section of the Using Telnet web page. Set the correct number of lines using the "resize" command. Set the Unix terminal type to be "vt100" to match TELNET. 7. Practice Telnet Logging You need to know how to do Telnet Logging to do the assignments and tests. Logging makes a record in a file of your Unix command line session for later printing. Any time after you start TELNET, you may select the "Start Logging" entry from the Terminal menu. When it asks for a location for the log file, pick a location (a folder) where you can find the log when you need to print it. Type in some name for the log file, e.g. mylog.log. (Use any name you like; remember where the file is located.) Conduct a small Unix session consisting of a few Unix commands. As you do your session, everything that displays on your screen is going into the log file on your Windows computer. (You might want to log to your N: drive so you have access to the log from any computer.) When you are done with your Unix session, again select the Terminal menu and select "Stop Logging". Now, you can open the log file (in the folder in which you created it) and print it. Remember that the log file is stored in the Windows directory in which you created it. The log file is not stored on Unix. Each Assignment will require you to print the log file using a monospace (Courier-style) font and make sure the long lines do not wrap excessively. (A few wrapped lines are acceptable.) 8. Demonstrate a TELNET log to your Instructor. Demonstrate to your Instructor that you can create a TELNET log containing a small Unix session.