System Administration Guide, Volume I

Example--.cshrc File


Example 1-2 Example .cshrc File


 [Sets the user's shell search path. ] set path=($PATH $HOME/bin /usr/local/bin /usr/ccs/bin)
 [Sets the path to the user's mail file.] setenv MAIL /var/mail/$LOGNAME
 [Sets the user's Usenet news server. ] setenv NNTPSERVER server1
 [Sets the user's default printer. ] setenv PRINTER printer1
 [Creates an alias for the history command (the user will need to type only h to run the history command). ] alias h history
 [Sets the user's default file creation permissions. ] umask 022
 [Runs the site initialization file shown in "Example--Site Initialization File".] source /net/server2/site-init-files/site.login