| previous | contents | up | next |
The .logout file is a feature of the C-shell and its derivatives. It is an initialization file that is executed when the user logs out but, instead of defining variables, like the .login file, the .logout file usually contains shell commands that form some sort of shutdown procedure. Perhaps you would like to simply clear the screen, and get a farewell message. The script could look something like this:
#!/bin/sh
clear
echo "See you soon!"
| previous | contents | up | next |