Reminds you when you have to leave.
The leave command waits until the specified time and then reminds you that you have to leave. You are reminded at 5 minutes and at 1 minute before the actual time, again at that time, and at every minute thereafter. When you log off, the leave command exits just before it would have displayed the next message.
If you do not specify a time, the leave command prompts with When do you have to leave? A reply of newline causes the leave command to exit; otherwise, the reply is assumed to be a time. This form is suitable for inclusion in a .login or .profile file.
The leave command ignores interrupt, quit, and terminate operations. To clear the leave command, you should either log off or use the kill-9 command and provide the process ID.
To remind yourself to leave at 3:45, enter:
leave345
The calendar command.