Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

leave(1) [freebsd man page]

LEAVE(1)						    BSD General Commands Manual 						  LEAVE(1)

NAME
leave -- remind you when you have to leave SYNOPSIS
leave [[+]hhmm] DESCRIPTION
The leave utility waits until the specified time, then reminds you that you have to leave. 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. The following options are available: 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. All times are con- verted to a 12 hour clock, and assumed to be in 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. To get rid of leave you should either log off or use 'kill -s KILL' giving its process id. SEE ALSO
calendar(1) HISTORY
The leave command appeared in 3.0BSD. BSD
April 28, 1995 BSD

Check Out this Related Man Page

leave(1)						      General Commands Manual							  leave(1)

NAME
leave - remind you when you have to leave SYNOPSIS
[hhmm] DESCRIPTION
The 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 off, exits. The time of day is in the form hhmm, where hh is a time in hours (which can range from 0 through 11 or 0 through 24 hours), and mm is the number of minutes after the specified hour. If the value of hh is greater than 11 (24-hour clock time), the specified value is reduced by 12 to a new value in the range of 0 through 11, thus ensuring that the alarm time is always set to activate within the next 12 hours. For example, if hhmm is 1350 and the current time is 4:00 PM (1600), the 1350 value is changed to 150 and the alarm is set for 1:50 AM, nine hours and 50 minutes later. On the other hand, if it is 9:00 AM and hhmm is specified as 2200 (10:00 PM), the value used is converted to 1000 and the alarm is set for one hour later instead of 13 hours as specified. If no argument is provided, prompts with A reply of newline causes to exit; otherwise the reply is assumed to be a time. This form is suitable for inclusion in a or file. The command ignores interrupts, quits, and terminate signals. To get rid of it you should either log off or use giving its process ID. EXAMPLES
The command sends an alarm (a beep) to your terminal to remind you that you have to leave at 12:04 and reminds you that you are late at one minute intervals after 12:04. WARNINGS
The command checks to see if a user has logged out by checking the file every 100 seconds. If a user logs out and logs back in to the same tty before makes its periodic check, may not know that the user has logged out. AUTHOR
was developed by the University of California, Berkeley. FILES
SEE ALSO
calendar(1). leave(1)
Man Page

14 More Discussions You Might Find Interesting

1. News, Links, Events and Announcements

Flaw leaves Linux computers vulnerable

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)
Discussion started by: killerserv
3 Replies

2. Shell Programming and Scripting

Need to only remove parenthesis and : leave the rest

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)
Discussion started by: livinthedream
10 Replies

3. UNIX for Dummies Questions & Answers

leave a process running in a remote machine

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)
Discussion started by: pbasil
3 Replies

4. Solaris

Failed hardware in /var/adm/messages and Interleave Way?

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)
Discussion started by: ibaron1
3 Replies

5. Windows & DOS: Issues & Discussions

gVim creates and leaves strange tilde ~ files in Windows

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)
Discussion started by: ghbarratt
2 Replies

6. Programming

Why is required to leave an empty line at the end of a C program?

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)
Discussion started by: semash!
8 Replies

7. Shell Programming and Scripting

How run simple command in xterm, and leave open?

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)
Discussion started by: spoovy
3 Replies

8. Shell Programming and Scripting

How to make expect to leave control for user?

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)
Discussion started by: urello
2 Replies

9. UNIX for Dummies Questions & Answers

Grep if the name exists, otherwie leave blank

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)
Discussion started by: FelipeAd
5 Replies

10. Shell Programming and Scripting

sed replace one space and leave other spaces untouched

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)
Discussion started by: jacobs.smith
3 Replies

11. Shell Programming and Scripting

[Solved] Replace character in 3rd column and leave 1rst and last

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)
Discussion started by: Ophiuchus
5 Replies

12. Shell Programming and Scripting

Remove the last 15 characters of a filename with respect to leave file extension

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)
Discussion started by: ateya
13 Replies

13. What is on Your Mind?

Dear Debian-Developers

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)
Discussion started by: 1in10
9 Replies

14. Shell Programming and Scripting

Move directory recursive and leave symlinks at source

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)
Discussion started by: carnagel
5 Replies