09-03-2002
Gotta leave some work for handynas......!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need help with the syntax to serach a directory and all the folders in that directorys for a single pdf file. I would than like to move that file to another folder. I don't know if this is possible with one command. Please Help. (2 Replies)
Discussion started by: johnlong
2 Replies
2. UNIX for Dummies Questions & Answers
I am accessing a UNIX server via FTP. I want to retieve a file in a directory. What is the UNIX command that I need to view and retrieve files from a directory? (1 Reply)
Discussion started by: yodaddy
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
i want to search a file in the dir , if file exists for todays date print the message that file found or if file does not exist for todays date/ if file not found i want to display message saying that file not found. How to do this.
Thx for your help. (2 Replies)
Discussion started by: nick12
2 Replies
4. UNIX for Dummies Questions & Answers
I am trying to find the list of printers(names) in the network from unix server.
can anybody help me . I need the command.
Thanks in advance.
:) (2 Replies)
Discussion started by: vijisenthil
2 Replies
5. Shell Programming and Scripting
Hi
1)How do i find files in unix that end either in .pc or .h
This does not return any output
find . -name "*(pc|h)"
2)I have a file like this
001123456
..
...
i want the output to be like
001-123-456 any tricks in regular expression can do this in vi.
regards
Hrishy (7 Replies)
Discussion started by: xiamin
7 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I have here a hard drive from a computer that was damaged, and now the costumer needs the data on the hard drive, but doesn't have any other computer to read data.
I don't really know what file system is on the disk.
How can I find out what file system is on the disk so I can read the... (4 Replies)
Discussion started by: dmarques
4 Replies
7. UNIX for Dummies Questions & Answers
Is there a way to find out all users and the UNIX groups they belong to??
:) (3 Replies)
Discussion started by: Hangman2
3 Replies
8. Shell Programming and Scripting
I need to check for username that we are logged in.There are a lot of unix users and proceed according to that
i.e
find unix user
if
then echo "x"
elif
then echo "y'
fi
fi
Now I dont know how to find and put user in if condition (8 Replies)
Discussion started by: sriki32
8 Replies
9. Homework & Coursework Questions
how can i find related pattern in a text file without using grep command in unix (2 Replies)
Discussion started by: feint
2 Replies
10. UNIX for Advanced & Expert Users
Hi,
Suppose I have a file with many lines as follows. Now I want to find the following questions from the file through shell script or commands.
My name is XYZ. XYZ works for GHT and XYZ is part of PES. GHT is a good organization. XYZ knows swimming. XYZ is also very keen in reading. XYZ is a... (2 Replies)
Discussion started by: sktkpl
2 Replies
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