CSC 204

LAB 1

NAME ______

DATE ______

In Lab 1, you will learn how to:

  1. Logon to the COBRA Computer system from the Computer Science Lab.
  1. Change your password.
  1. Create and Save a file called lab1.txt using the Joe editor
  1. Insert, Delete, and save changes to this file
  1. Print the file

From the Windows main menu, double-click the icon labeled “Telnet to Cobra”.

What do you see on the screen?

Type in your user name and password that is provided.

What do you see on the screen?

We will now change your password to something that only you will know. Be careful and write your new password down somewhere so that you won’t forget it. Use the command passwd to change your password. Note that UNIX is case-sensitive.

What do you see when you issue the passwd command?

We are now going to use an editor called Joe. Start this editor by typing joe lab1.txt

What do you see?

Enter the following information into your document:

Your name

Your major

Blank line

A short biography of yourself. You may mention hobbies, sports, etc. –whatever you want to tell me. Use paragraph form. Write one paragraph telling me about your computer experience.

After you have entered this information, type ^K X to exit and save your file.

What do you see on the screen?

Type the command ls –l

What information is placed on the screen?

Now we will edit the file that you have created above. Open the file in the Joe editor by typing joe lab1.txt

What do you see on the screen?

Add another paragraph to the bottom of your document that describes what you expect to learn in this course.

After you have entered this new information, use ^K X to exit and save the new information.

Type ls –l

What do you see on the screen?

We will now print the file to the printer. Use the command lpr –Plab100 lab1.txt

In general this command is lpr –P[lab number] filename

What do you see on your screen?

Get your printout from the printer and staple it to this document.

Type the command who

What do you see on the screen?

Logoff Cobra by typing logout

What do you see on the screen?