LAB 19: THE TC SHELL-GETTING STARTED

 <  Day Day Up  >  

LAB 19: THE TC SHELL ”GETTING STARTED

  1. What does the init process do?

  2. What is the function of the login process?

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

  4. How can you change your login shell?

  5. Explain the difference between the .tcshrc , . cshrc , and .login files. Which one is executed first?

  6. Edit your .tcshrc or .cshrc file as follows :

    1. Create three of your own aliases.

    2. Reset your prompt with the host machine name , time, username.

    3. Set the following variables and put a comment after each variable explaining what it does: noclobber , history , ignoreof , savehist , prompt .

  7. Type the following:

     source .tcshrc or source .cshrc 

    What does the source command do?

  8. Edit your .login file as follows:

    1. Welcome the user .

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

    3. Source the .login file.

  9. What is the difference between path and PATH ?

 <  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