profile man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



profile(4)							    profile(4)

NAME
     profile - setting up an environment at login time

SYNOPSIS
     /etc/profile
     $HOME/.profile

DESCRIPTION
     All users who have the shell, sh(1), as their login command have the
     commands in these files executed as part of their login sequence.

     /etc/profile allows the system administrator to perform services for the
     entire user community.  Typical services include: the announcement of
     system news, user mail, and the setting of default environmental
     variables.	 It is not unusual for /etc/profile to execute special actions
     for the root login or the su(1M) command.

     The file $HOME/.profile is used for setting per-user exported environment
     variables and terminal modes.  The following example is typical (except
     for the comments):

	  #  Set the file creation mask to prohibit
	  #  others from reading my files.
	  umask 027
	  #  Add my own /bin directory to the shell search sequence.
	  PATH=$PATH:$HOME/bin
	  #  Set terminal type
	  eval `tset -S -Q`
	  #  Set the interrupt character to control-c.
	  stty intr ^c
	  #  List directories in columns if standard out is a terminal.
	  ls()	  { if [ -t ]; then /bin/ls -C $*; else /bin/ls $*; fi }

FILES
     /etc/TIMEZONE    timezone environment
     $HOME/.profile   user-specific environment
     /etc/profile     system-wide environment

SEE ALSO
     env(1), login(1), mail(1), sh(1), stty(1), su(1M), tput(1), tset(1),
     terminfo(4), timezone(4), environ(5), term(5).

NOTES
     Care must be taken in providing system-wide services in /etc/profile.
     Personal .profile files are better for serving all but the most global
     needs.

									Page 1

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net