The following sections provide examples of user and site initialization files that you can use to start customizing your own initialization files. Many of the examples use system names and paths that you will have to change for your particular site.
[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 |