Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

leave(1) [minix man page]

LEAVE(1)						      General Commands Manual							  LEAVE(1)

NAME
leave - warn when it is time to go home SYNOPSIS
leave [ [+] hh[:]mm] EXAMPLES
leave 1500 # Issue a warning at 2:55 p.m. leave 10:00 # Issue a warning at 9:55 a.m. leave + 30 # Issue a warning in 25 minutes DESCRIPTION
Leave sets an alarm clock to a specified time and issues a warning 5 minutes before, 1 minute before, and at the time to leave. It then keeps issuing warnings every minute for 10 minutes, then quits. If no time is provided, the program prompts for one. LEAVE(1)

Check Out this Related Man Page

ZLEAVE(1)						      General Commands Manual							 ZLEAVE(1)

NAME
zleave - notify you via Zephyr when you have to leave SYNOPSIS
zleave [ [+]hhmm [ -m Reminder Message ] ] zleave can[cel] DESCRIPTION
Zleave waits until the specified time, then reminds you that you have to leave, using the Zephyr(1) Notification Service. You are reminded 5 minutes and 1 minute before the actual time, at the time, and every minute thereafter. When you log off, zleave exits just before it would have sent 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 `+', the alarm will go off in hours and minutes from the current time. If no argument is given, zleave prompts with "When do you have to leave?". A reply of newline causes zleave to exit, otherwise the reply is assumed to be a time. This form is suitable for inclusion in a .login or .profile. The cancel option cancels the currently running zleave. If another zleave is running, it is automatically killed when a new time to leave is set. The process id is stored in the file /tmp/zleave.uid, where uid is the user's UNIX uid. If the -m argument is specified, the next argument is appended to the standard message (a sentence describing how much time remains until the appointed hour) sent at appropriate times. If you want to append a multiple-word message, you normally must quote it with double quotes (") (This is necessary for users of csh(1) and sh(1).) Zleave automatically subscribes you to Zephyr class "MESSAGE", instance "LEAVE". You do not have to add anything to your default subscrip- tions file (see zctl(1)). The reminder message is displayed by the WindowGram client (usually zwgc(1)). If Zephyr is unavailable, zleave acts essentially like leave(1). Zleave ignores SIGINT, SIGQUIT, and SIGTERM. To get rid of it you should either log off or use the cancel option. FILES
/tmp/zleave.uid /tmp/wg.* SEE ALSO
calendar(1), zephyr(1), leave(1), zwgc(1), zctl(1), csh(1), sh(1) Project Athena Technical Plan Section E.4.1, `Zephyr Notification Service' RESTRICTIONS
Copyright (c) 1980, Regents of the University of California. All rights reserved. Redistribution and use in source and binary forms are permitted provided that this notice is preserved and that due credit is given to the University of California at Berkeley. The name of the University may not be used to endorse or promote products derived from this software without specific written prior permission. This soft- ware is provided ``as is'' without express or implied warranty. Copyright (c) 1987,1988 by the Massachusetts Institute of Technology. MIT Project Athena July 1, 1988 ZLEAVE(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