Shells, Customizing User Environments

Initialization Files for Bourne, C, and Korn Shells

Shell Initialization File Purpose
Bourne /etc/profile Defines system profile at login
$HOME/.profile Defines user’s profile at login
C /etc/.login Defines system environment at login
$HOME/.cshrc Defines user’s environment at login
$HOME/.login Defines user’s profile at login
Korn /etc/profile Defines system profile at login
$HOME/.profile Defines user’s profile at login
$HOME/ksh_env Defines user’s environment at login in the file specified by the ksh_env variable

Default Home Directory Startup Files

Shell File
Bourne /etc/skel/local.profile
C /etc/skel/local.login
/etc/skel/local.cshrc
Korn /etc/skel/local.profile

환경설정 반영

Shell File
Bourne
C aramaki: > soruce ~/.cshrc
Korn aramaki: > . .profile

Leave a Reply