CS110-130 Lab Exercise:

Back to Highlights

There is a lot to learn in the first week of any class. Start by learning these basic skills so you won't be lost.

NOTE:
1. This set of the lab exercise is optional. But, we highly recommend you to perform the exercise.
2. If you need help during the week, you are welcome to go to CL119 during Office Hours posted for lab instructors. They will also be able to help you there if you have a problem with your PC/hyperion and Hercules account.


Lab Exercise -- Getting Started

This set of the lab exercise is optional. But, we highly recommend you to perform the exercise.

  1. Log on to Lab PC's by using the Hyperion account. Memorize or keep the username and password handy so that whenever you need it you can use it.
  2. Start Netscape or IE, manage to change the password of your hyperion account, REMEMBER THE NEW PASSWORD!!!! then, enable your printing. You will be able to print from the printer in the Lab. You will be charged for the pages you printed.
  3. By using Netscape or IE, manage to find CS110-130 lab Outline, schedules for CL135.4/CL119, and Lab #1 Notes.
  4. Open WebMail. Read your e-mail and try to send one to your friend or someone beside you. Check your email regularly for there might be some important class related messages sent to you.
  5. Minimize/close the Netscape or IE. Now open Telnet to login to the hercules computer. You will mainly work on this machine to write your C++ program. More knowledge on Unix will be presented in next lab. At the Unix command prompt hercules[1]% , type in the following commands one at a time followed by pressing the Enter key, and see what will happen?
    Unix Commands Explanation of the command
    whoami

    To display the effective current username

    pwd To print working directory name
    ls To list contents of the directory
    ls -la To list contents of the directory with more info
    cp .login test.txt To copy the file named .login to a file named test.txt
    ls To list the contents in the current directory again
    ftp ftp To copy a file from MERCURY to HERCULES.
    Follow the procedure in the FTP section to copy the file pub/class/110-130/ftp/cpp/hello.cpp to hercules.
    ls To list the contents in the current directory again
    cat hello.cpp To show contents of the file hello.cpp
    TeraPrint hello.cpp To print the contents of file hello.cppto the laser printer.
  6. The following two steps will print out the file hello.cpp also.
  7. Minimize Telnet session. Open WS_FTP95, connect to your hercules account, and then transfer the file named hello.cpp to the WORKAREA folder of the PC you are using.
  8. Open hello.cpp from Notepad and send it to the printer to print. You will need to know how to print for your class assigments.

Consult with your lab instructor if you have a problem with any of above.

Back to Highlights


This page last modified:
Thursday, 06-Oct-2011 12:13:32 CST
Accessed     times.
CS Dept Home Page CS Dept Class Files CS110-130 Class Files
Copyright: Department of Computer Science, University of Regina.