Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

env(1)

login(1)

mail(1)

sh(1)

stty(1)

su(1)

environ(5)



PROFILE(4)               DOMAIN/IX SYS5                PROFILE(4)



NAME
     profile - setting up an environment at log-in time

DESCRIPTION
     If your log-in directory contains a file named .profile,
     that file is executed via the shell's exec .profile before
     your session begins.  In general, .profile files are handy
     for setting exported environment variables and terminal
     modes.  If the file /etc/profile exists, it is executed for
     every user before the shell's execution of $HOME.profile.

EXAMPLE
     Following is a commented version of a typical .profile.

           #Make some environment variables global
           export MAIL PATH TERM
           #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      user's log-in environment

     /etc/profile        executes before user's .profile

RELATED INFORMATION
     env(1) login(1) mail(1) sh(1) stty(1) su(1) environ(5)






















Printed 12/4/86                                         PROFILE-1





Typewritten Software • bear@typewritten.org • Edmonds, WA 98026