[Next] [Previous] [Up] [Top] [Contents] [Index]

Chapter 2: Getting Started on a UNIX System

2.2 Logging Out

The logout commands are slightly different for the two shell families. For either one, you can create a .logout script and use it in place of the standard commands.

[Missing image]If you are on a system running AFS, it is best to issue the command unlog before logging out. See section 7.3.4 for an explanation.

2.2.1 C Shell Family

You can logout with either:

% logout

or

% exit

If you have other processes running you will be informed that you have stopped jobs. You can continue to enter logout until all the processes are terminated.

The control character eof, which is usually set to <Ctrl-d>, is the normal UNIX way of logging off. Since this is easily entered accidentally, the standard Fermi UNIX Environment disables this way of logging out by including the command set ignoreeof in the Fermi files.

2.2.2 Bourne Shell Family

You can logout with:

$ exit

or (on some systems):

$ <Ctrl-d> 

The control character eof, which is usually set to <Ctrl-d>, is the normal UNIX way of logging off. Since this is easily entered accidentally, the standard Fermi UNIX Environment includes the command set ignoreeof in the Fermi files to disable it (ignoreeof is not supported on all Bourne shells).

If you have other processes running you will be informed that you have stopped jobs. You can continue to enter exit until all the processes are terminated.


UNIX at Fermilab - 10 Apr 1998

[Next] [Previous] [Up] [Top] [Contents] [Index]