Name

leave

Synopsis

    leave [[+]hhmm]

Remind you when you have to leave. The time given, hhmm, may be in 12 or 24-hour format. hh represents hours and mm represents minutes. The time is converted to the corresponding wall clock time in the upcoming 12 hours. leave prompts you to leave five minutes before, one minute before, and at the given time, and then every minute thereafter. With a leading +, the time is taken as an offset from the current time. With no argument, leave prompts you for a time; this is useful from a shell start-up file, such as ~/.profile or ~/.login. Logout, or kill it with kill in order to terminate it.

Get Unix in a Nutshell, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.