profile(4) DG/UX 4.30 profile(4)
NAME
profile - 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.
Licensed material--property of copyright holder(s) Page 1