Project 1
CMSC 104, Fall 2002
Due Date: 5:30 pm, Thursday September 12th.
Point Value:
This project is graded with a 20 point max score.
Objectives:
To become familiar with
- logging on to and off of the UMBC Linux system (linux1.gl.umbc.edu
linux2.gl.umbc.edu or linux3.gl.umbc.edu)
- the basic use of the pico text editor, and
- the basic use of the pine e-mail system.
Note that this exercise is meant to be performed in the lab with the assistance
of your instructor and TA. However, if you do not finish, you must finish on
your own time.
Assignment:
- Log On to the Linux System (From a MAC-OS type machine)
From ECS-336 Lab, Log on to the Linux system as follows:
- Turn the MAC on, if it is not already on.
- Click the mouse to gain access: Log in with your username and password.
- Click to continue after the logoff reminder is shown.
- Open the Application Icon on the desk top called: "SSH GL (Linux)"
- Within the window that opens,
type in your username and password, this connects to the Linux
machine.
- When you see the system prompt linux1[#]%, you are logged
in to the Linux machine and ready to go!
If you are logging on to a MAC in a downstairs lab like ECS-019:
- Click the mouse to gain access: Log in with your username and password.
- Click to continue after the logoff reminder is shown.
- Open the Icon on the desk top called: "Macintosh HD"
- Open the folder called: "Internet"
- Open the folder called: "Internet Applications"
- Open the application called: "Niftytelnet-1.1-ssh-r3"
- In the New Connection window set: Hostname to: linux2.gl.umbc.edu ,
then click connect. Note: If this machine is too busy, you may use
linux2.gl.umbc.edu or linux3.gl.umbc.edu
- If the machine tells you "Public key for this machine is
unknown" Click "accept and save"
- Type in your username and password, and connect to the Linux
machine.
- When you see the system prompt linux1[#]%, you are logged
in to the Linux machine and ready to go!
- Log On to the Linux System (From an IBM PC)
Log on to the Linux system follows:
- Turn the PC on if it is not already on.
- Follow the instructions for logging in (typing in your user id and password).
- You are logged in to the PC when you see the Windows desktop, which is a greenish screen with several icons (small pictures) on it.
- Use the mouse to click on the Start button in the lower left-hand corner of the screen.
- Click on the Run option of the menu that pops up.
- Type: telnet linux1.gl.umbc.edu in the text box that appears and hit the Enter key. Note: If this machine is busy, you may use linux2.gl.umbc.edu or linux3.gl.umbc.edu
- You will then be asked to enter your user id and password.
- When you see the system prompt (linix1[#]%), you are logged in to the Linux system and ready to go!
- Use the pico Text Editor to Create an Autobiography
You will be using the pico text editor to create a file called mybio.txt. The file will contain a brief autobiography about you as follows:
- Begin by stating your name, major, and class standing (e.g., sophomore).
- Then write a paragraph or two telling me a little bit about yourself. Tell me where you are from and why you chose UMBC for your education. Also, describe what you would like to be once you graduate, and how you plan to use computers in your career. Do not leave out any of this information!
To create your autobiography file, do the following.
- Enter the pico editor by typing: pico mybio.txt
- Simply type in the information specified above. Edit any mistakes using the Backspace and Delete keys.
- Save your work by typing Ctl-o and answering the questions that appear.
- Exit pico by typing Ctl-x
- You will know that you have exited pico and are again talking to the Linux system if you see the linux1[#]% prompt.
- You can check that the file mybio.txt is in your directory by typing: ls
- Use the pine E-mail System to Send an E-mail
You are now going to use pine to send an e-mail to me that has the mybio.txt file that you created as an attachment. You will also send a carbon copy (cc) to yourself.
To accomplish this, do the following.
- Enter pine by typing: pine
- Next to To:, type: mgasto1@cs.umbc.edu
- Next to Cc:, type: <Your email address to send yourself a copy.>
- Next to Attchmnt:, type: mybio.txt
- Next to Subject:, type: Autobiography for your name
- In the message area, type: Here is my autobiography, followed by your name and the last 4 digits of your Student ID number.
- To send the e-mail, type Ctl-x, answer yes to send.
- You are done when you receive the system prompt of linux1[#]% back
- Log Off the Linux System
When you are done with this exercise, you must log off both the Linux system and
the PC.
- To log off of the Linux system, type: logout
- For the IBM-PC, close telnet by clicking on the X in the upper
right-hand corner of the telnet window.
- For the MAC-OS, close telnet by clicking on the square box in the
upper left-hand corner of the telnet window. In order to completely
close the session you must use the quit command from the top left menu.
- To log off of the PC, double click on the appropriate icon and confirm that
you do wish to log off.
Last Modified: