I have created a simple shell script... say test.sh
Contents of test.sh
================
service named restart
cp /etc/imp.conf /backup/test/
#-- if date > 15 July 2007 11:23 pm , then only issue the commans below, else exit ---
cp /etc/secondimp.conf /backup/test/
rm -f... (2 Replies)
Hi ,
I would like to list or sort by date and time (the files are named in day and time format) where the latest file will be placed at the bottom and the earliest file be placed at the top. Can anybody help me?
My files are named in the following manner.
EG: abc_071128_144121_data
"... (21 Replies)
Hello All,
I need a script which extarct the date and time of the mail which is there in our inbox...
I can export the mail copy into desktop making it as a textfile or something like that.. So is there anyway to get the date and time from that? (3 Replies)
Hi,
I'm having two fields in the file
F1|F2
20111220|102000
F1 ->YYYYMMDD
F2 ->HHMMSS
Now, I need to compare this with current date & time and need to return the difference value in hours. Already, I checked with datecalc from the forum. So, need hints from Shell Gurus.
Thanks (10 Replies)
Hi,
I'm looking for a way to do a simple math calc during a shell script as a means of logging how long a particular task takes.
For example...
STARTTIME=whenever this script starts
./path/to/command.sh >>logfile.log
TOTALTIME=<time at this stage of the script after above command... (7 Replies)
================================================================================
Request ID GMDCOM TIME GMDRRS TIME COM-RRS
================================================================================
<36812974> Tue Oct 1 13:32:40 2013 Tue Oct 1 20:36:42 2013... (1 Reply)
Request ID GMDCOMTM GMDRRSTIME GMDRESTIME
<36812986> : : :I want to display the date -time difference in other fields. Above I have given for only 1 record. I want to calculate for all the records.
(GMCOMTM - GMDRRSTM) ,(GMDRRSTM-GMDRESTM) and... (5 Replies)
There are 2 dates,
Tue Oct 1 13:40:19 2013
Sun Sept 30 10:26:23 2013
I have multiple dates like the above one. How do I calculate the date time difference and display in another column in Shell script. Please help. (3 Replies)
I am developing one script which will take log file name, output file name, date, hour and minute as an argument and based on these inputs, the script will scan and capture all the error(s) that have been triggered from a given time. Example: script should capture all the error after 13:50 on Jan... (2 Replies)
Discussion started by: ROMA3
2 Replies
LEARN ABOUT DEBIAN
popper
POPPER(8) BSD System Manager's Manual POPPER(8)NAME
popper -- POP3 server
SYNOPSIS
popper [-k] [-a plaintext|otp|sasl] [-t file] [-T seconds] [-d] [-i] [-p port] [--address-log=file]
DESCRIPTION
popper serves mail via the Post Office Protocol. Supported options include:
-a plaintext|otp|sasl
Tells popper which authentication mode is acceptable, sasl enables SASL (RFC2222), and otp enables OTP (RFC1938) authentication.
Both disable plaintext passwords.
--address-log=file
Logs the addresses (along with a timestamp) of all clients to the specified file. This can be used to implement POP-before-SMTP
authentication.
-d Enables more verbose log messages.
-i When not started by inetd, this flag tells popper that it has to create a socket by itself.
-k Tells popper to use Kerberos for authentication. This is the traditional way of doing Kerberos authentication, and is normally done
on a separate port (as it doesn't follow RFC1939), and should be used instead of using SASL.
-p port
Port to listen to, in combination with -i.
-t file
Trace all commands to file.
-T seconds
Set timeout to something other than the default of 120 seconds.
SEE ALSO push(8), movemail(8)STANDARDS
RFC1939 (Post Office Protocol - Version 3)
AUTHORS
The server was initially developed at the University of California, Berkeley.
Many changes have been made as part of the KTH Kerberos distributions.
HEIMDAL July 14, 2004 HEIMDAL