profile(4)
_________________________________________________________________
profile File Format
setting up an environment at login time
_________________________________________________________________
DESCRIPTION
If you are using the Bourne shell and your login directory
contains a file named .profile, that file will be executed (via
exec .profile) before your session begins; .profiles are handy
for setting exported environment variables and terminal modes.
If the file /etc/profile exists, it will be executed for every
user before the .profile. The following example is typical
(except for the comments):
# Make some environment variables global
export MAIL PATH
# Set file creation mask
umask 22
# Tell me when new mail comes in
MAIL=/usr/mail/myname
# Add my /bin directory to the shell search sequence
PATH=$PATH:$HOME/bin
FILES
$HOME/.profile
/etc/profile
SEE ALSO
environ(5), term(5).
env(1), login(1), mail(1), sh(1), stty(1), su(1) in the User's
Reference for the DG/UX System.
DG/UX 4.00 Page 1
Licensed material--property of copyright holder(s)