leave - Reminds you when to leave
leave [+] [hhmm]
The leave command waits until the specified time, then reminds you to
leave. You are reminded 5 minutes and 1 minute before the actual time, at
the time, and every minute thereafter. When you log out, leave exits just
before it would have displayed the next message.
The time of day is in the form hhmm, where hh is a time in hours (on a 12-
or 24- hour clock). All times are converted to a 12-hour clock, and assumed
to be in the next 12 hours.
If the time is preceded by a + (plus sign), the alarm will go off in hours
and minutes from the current time.
If you do not specify a time, leave prompts with the following:
When do you have to leave?
Pressing the newline key in response causes leave 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 Interrupts, Quits, and Terminates. To exit from
leave, either log out or use kill -9 and the process ID.
To remind yourself to leave at 3:45, enter:
The system returns a message similar to the following:
Alarm set for Thu Aug 2 15:45:00 1990