12345678910111213141516171819202122232425262728293031 |
- #
- # /etc/profile - System-wide startup file for shells.
- #
- # Compose the system path, resetting the value of $IFS
- IFS='
- '
- PATH=${PATH}:/usr/local/games:/usr/games
- # Remove write permission for group and other
- umask 022
- # Set basic primary prompt
- PS1='$PWD \$ '
- # Set default terminal type if unset
- test -n "${TERM+$TERM}" || TERM=linux
- # Default classification and conversion of characters
- LC_CTYPE=C.UTF-8
- export PATH LC_CTYPE
- # Load profiles
- for file in /etc/profile.d/*.sh
- do
- test -r "$file" && . "$file"
- done
- unset file
|