Previous Section  < Day Day Up >  Next Section

LAB 8: BOURNE SHELL—GETTING STARTED

  1. What process puts the login prompt on your screen?

  2. What process assigns values to HOME, LOGNAME, and PATH?

  3. How do you know what shell you are using?

  4. Where is your login shell assigned? (What file?)

  5. Explain the difference between the /etc/profile and .profile file. Which one is executed first?

  6. Edit your .profile file as follows:

    1. Welcome the user.

    2. Add your home directory to the path if it is not there.

    3. Set the erase function to the Backspace key using stty.

    4. Type: . .profile

      What is the function of the dot command?

    Previous Section  < Day Day Up >  Next Section