How to mail the name of the user that logged off?

Frank Cox theatre at sasktel.net
Sat Sep 22 21:53:06 UTC 2007


On Sat, 22 Sep 2007 21:47:38 +0000 (UTC)
Vinicius <cviniciusm at uol.com.br> wrote:

> The users do logon by terminal (the system runs on text mode).
> 
> How to mail the username of the user that logged off, please?

Use the mail command and put it in the ~/.bash_logout script.

-- 
MELVILLE THEATRE ~ Melville Sask ~ http://www.melvilletheatre.com




More information about the users mailing list