.CSHRC(5,F) AIX Technical Reference .CSHRC(5,F) ------------------------------------------------------------------------------- .cshrc, .login PURPOSE Sets the csh user environment at login time. DESCRIPTION The .cshrc file provides commands to be executed at login time and variable assignments to be set and exported into the environment. The .cshrc file is read every time the csh is started, while the .login file is read only on start up. After the login program adds the LOGNAME (login name) and HOME (login directory) parameters to the environment and starts csh, the commands in $HOME/.cshrc are executed, followed by the commands in $HOME/.login, if they are present. The .cshrc and .login files are used to tailor the user environment variables. The .cshrc file is often used to set exported environment variables and terminal modes. The system administrator can use adduser to set default .cshrc and .login files in each user home directory. Users can tailor their environment as desired by modifying their .cshrc and .login files. FILES $HOME/.cshrc $HOME/.login RELATED INFORMATION In this book: "environment" and "TERM." The env, login, mail, csh, and stty commands in the AIX Operating System Commands Reference. Processed November 7, 1990 .CSHRC(5,F) 1