leave(1) General Commands Manual leave(1)NAME
leave - Reminds you when to leave
SYNOPSIS
leave [+] [hhmm]
DESCRIPTION
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 inclu-
sion in a or file.
The leave command ignores Interrupts, Quits, and Terminates. To exit from leave, either log out or use kill -9 and the process ID.
EXAMPLES
To remind yourself to leave at 3:45, enter: leave 345
The system returns a message similar to the following: Alarm set for Thu Aug 2 15:45:00 1990
SEE ALSO
Commands: calendar(1)leave(1)
Check Out this Related Man Page
LEAVE(1) BSD General Commands Manual LEAVE(1)NAME
leave -- remind you when you have to leave
SYNOPSIS
leave [[+]hhmm]
DESCRIPTION
leave waits until the specified time (within the next 12 hours), then reminds you that you have to leave by writing to the TTY that you exe-
cuted leave on.
You are reminded 5 minutes and 1 minute before the actual time, at the time, and every minute thereafter. When you log off, leave exits just
before it would have printed the next message.
OPTIONS
hhmm The time of day is in the form hhmm where hh is a time in hours (on a 12 or 24 hour clock), and mm are minutes.
However, all times are converted to a 12 hour clock, and assumed to be in the next 12 hours. An attempt to set an alarm for farther
into the future will be truncated to within the next 12 hours.
+ If the time is preceded by '+', the alarm will go off in hours and minutes from the current time.
If no argument is given, leave prompts with "When do you have to leave?". A reply of newline causes leave to exit, otherwise the reply is
assumed to be a time. This form is suitable for inclusion in a ~/.login or ~/.profile.
SEE ALSO calendar(1), csh(1), sh(1)HISTORY
The leave command appeared in 3.0BSD.
BUGS
In the modern age with X(7) and window multiplexing programs like window(1) and screen(1), the leave command's reminders and admonitions
might not be seen if the user has the window where leave was started minimized or obscured.
This all begs for a more general user notifications system to be implemented.
BSD January 19, 2002 BSD
NEWS:
Flaw leaves Linux computers vulnerable
http://news.com.com/2100-1001-857265.html
A flaw in a software-compression library used in all versions of Linux could leave the lion's share of systems based on the open-source operating system open to attack, said sources in the security... (3 Replies)
Hi all,
I'm stuck on this last part...am running a simple script under AIX to extract NetView host IP addresses. The line below returns the IP address in parenthesis with a trailing colon, i.e.
ping -c 1 $name |grep \( | awk '{ print $3 }' --------> returns
(a.b.c.d):
How can I only... (10 Replies)
Hi,
I would like to run a process in my gentoo machine from a consolte (putty) in
Windows and would like that this process keep on going when I close the console in Windows (i.e closing this session).
The process should take a long time and I do not want to leave the Windows machine running... (3 Replies)
Do I have a memory/bus issue?
from /var/adm/messages:
Feb 12 01:26:50 svdnyc008 SUNW,UltraSPARC-III+: NOTICE: Corrected system bus (CE) Event detected by CPU8 at TL=0, errID 0x002ca294.e8676780
Feb 12 01:26:50 svdnyc008 AFSR 0x00000002<CE>.000001b2 AFAR 0x00000041.fe2ab8e0
Feb 12... (3 Replies)
Hey folks,
I have used gVim in Windows for many years but I have never found an answer to a very simple question I am going to ask you guys...
My question is if there is a way to eliminate the creation of those ~ files that gVim creates in Windows. If you have ever used gVim in Windows you... (2 Replies)
I know it looks like a stupid question, but i really wanna know the reason.
Actually, i think it's because the c compiler will detect it as the end of file "EOF" of the program, but, am i wrong? because it compiles it anyway, but keep showing warnings like "no new line at the end of file".
I... (8 Replies)
I have written a simple script to show battery life remaining. I would like to be able to quickly view it with a predefined keybinding or launcher.
xterm -e scriptname should do the trick but the xterm closes when the script finishes, not giving me chance to read the output. How can I keep... (3 Replies)
Hello. I have several domains which are using different LDAP trees. To make life easier i wrote such script
!#/bin/bash
case $1 in
"doman1")
login='login1'
password='pass1'
"doman2")
login='login2'
password='pass2'
"doman3")
login='login3'
password='pass3'
/usr/bin/expect... (2 Replies)
I have two files,
file1:
name1
name2
name3
name4
name5
name6file2
name1 group1
name3 group2
name4 group3
name6 group4
name9 group5
name10 group6
name11 group7
name12I need a code that will match the name column in file1 with the group column in file2, if that exists, otherwise... (5 Replies)
Hi Friends,
I looked up online, but couldn't figure out a proper solution.
I have an input file where the columns are separated by multiple spaces and the column content is separated by single space.
For example,
Chr1 hello world unix is fun
In the above example, chr1 is first... (3 Replies)
Hello to all,
I have the following text where columns are separated by spaces. I want to have the 3rd column separating
3 strings with 2 "_" in the format below:
LeftSring_CentralString_RightString
So, in 3rd column I want to replace all "_" with "-", except the first and last "_"
The... (5 Replies)
how can i remove numbers of characters from the last name of file with respect to not remove the files extension
example
VFX_Official_Trailer_(HD)__Shhh__-_by_Freddy_Chavez_Olmos_&_Shervin_Shoghian-.mp4
i want to rename this to
VFX-Official-Trailer-(HD)-Shhh... (13 Replies)
As strolling along this thread, what is on my mind I am still quite upset about the security guidelines set by the developers of Debian or any distro based upon Debian. For a while I have been really blissed using squeeze. No trouble at all with almost nothing, but using wheezy trouble came up with... (9 Replies)
Looking for a script or command to -
Move a very large directory with tens of thousands of files and sub-directories recursively (filenames can include spaces) and replace with symlinks pointing to the new location at the same time so there is no downtime
Looking for speed + safety :o (5 Replies)