LAB 8: BOURNE SHELL-GETTING STARTED

 <  Day Day Up  >  

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?

 <  Day Day Up  >  


UNIX Shells by Example
UNIX Shells by Example (4th Edition)
ISBN: 013147572X
EAN: 2147483647
Year: 2004
Pages: 454
Authors: Ellie Quigley

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net