CMSC 104, Spring 2010
Homework 1
Linux Basics

Out: Wednesday, January 27th, 2010
Due: Before 11:59 PM on Wednesday, February 10, 2010
Note that late homeworks will NOT be accepted.

Objectives:

To become familiar with

Note that this exercise is meant to be performed in the lab with the assistance of your instructor. However, if you do not finish, you must finish on your own time.

Resources:

Assignment:

  1. Log On to the Linux System

    We'll go over how to do this in class.

  2. Check Your Disk Quota and Clean Your Directory

    OIT allocates a fixed amount of disk space (called your "disk quota") to each of the gl system users. It is a good habit to check your disk quota from time to time to make sure that you are not coming close to your allocation. To do this, type: quota -v and press enter.

    If you have already used a large portion of your quota (e.g., the %Used is 90% or higher), you should delete unnecessary files. To do this, type oitcleaner and press enter at the linux prompt.

  3. Getting Ready to Use the xemacs Text Editor

    Before you begin the next part of this exercise, you need to copy a file into your directory. This file is called .emacs and activates certain emacs features (do not worry about what features for now). To copy the file, type the follwing command exactly as it appears:

         cp  /afs/umbc.edu/users/d/b/dblock/pub/.emacs  .
    	    
    Note that the command has 3 parts (separated by spaces):

    To check that the file is now in your directory, type: ls -a and press enter

  4. Use the xemacs Text Editor to Create an Autobiography

    You will be using the xemacs text editor to create a file called mybio.txt. The file will contain information about yourself.

    1. Begin by stating your name, major, and class standing (e.g., sophomore).

    2. Then, answer the following questions
      • Where are you from?
      • Why did you choose your major?
      • What is your favorite food?
      Do not leave out any of this information!

    3. Finally, you should use the Internet to find answers to the questions below. Each answer need not be more than a few sentences. Your answers should be in your own words, not quoted directly from a source. Please number each answer.
      1. Search for information about Computer Science. After reading several sources, what would you give as a definition of Computer Science?
      2. Read about different areas of study in Computer Science. Pick one area of study you think sounds interesting. Describe the field of study and explain why you think it is interesting. Does it relate to your major in any way?
      3. Research careers in Computer Science. List and briefly describe two career opportunites in the field of Computer Science.
      4. JavaScript is referred to as a scripting language. What is a scripting language? Give 3 examples of other scripting languages.
      5. Find and include a link to some topic related to computers that you think is different, unusual, or somehow noteworthy. (Clean links only, please! Links to pornographic sites will result in a low score (possibly zero) for this assignment)

    To create your autobiography file, do the following.

  5. Use the pine E-mail Client to Send an E-mail With an Attachment

    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 are also going to send a copy of the email to yourself.

    To accomplish this, do the following.

  6. Make a simple website
  7. Log Off the Linux System

    To log off of the system, type logout. Make sure you log off of the computer as well.