return to first page linux journal archive
keywordscontents

Listing 1. Example .login Script

# get primary group
setenv SETUP /usr/local/etc/dotfiles/\
`groups | cut -f1 -d' '`
# set configurations
source $SETUP/setup.WORDPROC
source $SETUP/setup.WEBBROWSER
source $SETUP/setup.OPENWIN
[...]
source .cshrc
# start GUI
source $SETUP/startup.OPENWIN
#
# script continues only after GUI has terminated
rm -rf .wastebasket/* core
logout