Previous Section  < Day Day Up >  Next Section

LAB 27: FIRST SCRIPT

  1. Write a script called greetme that will do the following:

    1. Greet the user.

    2. Print the date and time.

    3. Print a calendar for this month.

    4. Print the name of your machine.

    5. Print a list of all files in your parent directory.

    6. Print all the processes you are running.

    7. Print the value of the TERM, PATH, and HOME variables.

    8. Print Please, could you loan me $50.00?

    9. Tell the user Good-bye and the current hour. (See man pages for the date command.)

  2. Make sure your script is executable.

    
    chmod +x greetme
    
    

  3. What was the first line of your script?

    Previous Section  < Day Day Up >  Next Section