profile man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

profile(4)							    profile(4)

       profile - set up user's environment at login time

       If the file exists, it is executed by the shell for every user who logs
       in.  The file should be set up to do only those things that are	desir‐
       able for every user on the system, or to set reasonable defaults.  If a
       user's login (home) directory contains a file named that file  is  exe‐
       cuted (via the shell's before the session begins.  files are useful for
       setting various environment  parameters,	 setting  terminal  modes,  or
       overriding some or all of the results of executing

       The following example is typical (except for the comments):

	      #	 Make some environment variables global
		  export MAIL PATH TERM
	      #	 Set file creation mask
		  umask 22
	      #	 Tell me when new mail comes in
	      #	 Add my /bin directory to the shell search sequence
	      # Set terminal type
		  echo "terminal: \c"
		  read TERM
		  case $TERM in
		      300)	stty cr2 nl0 tabs; tabs;;
		      300s)	stty cr2 nl0 tabs; tabs;;
		      450)	stty cr2 nl0 tabs; tabs;;
		      hp)	stty cr0 nl0 tabs; tabs;;
		      745|735)	stty cr1 nl] -tabs; TERM=745;;
		      43)	stty cr1 nl0 -tabs;;
		      *)	echo "$TERM unknown";;

       A more complete model can be found in

       env(1), login(1), mail(1), sh(1), stty(1), su(1), environ(5), term(5).


List of man pages available for HP-UX

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]
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