Skip to Main Content
UNIX® Shells by Example, Third Edition
book

UNIX® Shells by Example, Third Edition

by Ellie Quigley
October 2001
Intermediate to advanced content levelIntermediate to advanced
1040 pages
22h 50m
English
Pearson
Content preview from UNIX® Shells by Example, Third Edition

C SHELL LAB EXERCISES

Lab 19: 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 .cshrc and .login files. Which one is executed first?
6:Edit your .cshrc file as follows:
  1. Create three of your own aliases.

  2. Reset your prompt.

Set the following variables and put a comment after each variable explaining what it does:

noclobber    # Protects clobbering files from redirection overwriting
history
ignoreeof
savehist
filec
7:Type the following:
									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. ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

UNIX® Shells by Example Fourth Edition

UNIX® Shells by Example Fourth Edition

Ellie Quigley
Storage Area Networks For Dummies®

Storage Area Networks For Dummies®

Christopher Poelker, Alex Nikitin

Publisher Resources

ISBN: 013066538XPurchase book