I am looking for a way to show files that have been created within a certain period (say anything older than 10 minutes or so). Is there a command/series of commands I can do this with? As an example, I have the following in a directory:
-rw-r--r-- 1 owner group 70175 May 16 09:10... (1 Reply)
Hello,
I was trying to find files which are created in last five minutes .
I tried to use command find with ntime and mtime but was not successfull then i read from this forum that we can not have a find option on minutes or seconds or hours......
Can somebody Pls expalin how can i search... (3 Replies)
KSH:
Please lt me know how to find the age of a file in minutes(Based on last modified time).
ie, if the file was modified 15 Minutes ago, the output should be 15 (1 Reply)
Hi,
i want to find certain files which are more than <n> minutes old,i have the command to find the files say <n> days old(as below) but not in terms of minutes.
find . -name "14*.000" -type f -mtime +1
Is there any way to find this?
Regards,
Cherry (3 Replies)
Hi All,
I want to find out the time before 30 minutes. I am able to do with in hours limit.
date
Fri Aug 21 06:50:00 BST 2009
TZ=CST+1 date
Fri Aug 21 04:50:02 CST 2009
Can any one please help me (6 Replies)
Is there an easy way to find files modified by hours? If you wanted to find something modified by like 28 hours then I know you could do this:
find . -mmin -1440It is pain to break out a calculator and calculate in minutes. Could you do something similar to this? I know I don't have the right... (1 Reply)
Hi,
I am trying to work on this script that needs to monitor a Directory.
In case there are no files received in that Directory for the last 5 minutes, it has to send out an alert.
Could someone please suggest any approach for the same.
Note: I did check out various previous psts -... (8 Replies)
hi guys
i had written a shell script Display Information of all the File Systems
i want to find the pid and kill the process after few minutes.how can i obtain the pid and kill it???
sample.sh
df -a >> /tmp/size.log
and my cron to execute every minute every hour every day
* *... (5 Replies)
Hi All,,
I need to find the latest files that are accessed less than 10mins in a particular directory & send those files in an attachment.
I could use the below simple one. But if the directory was not updated any recently i could mail the old file again, i need to eliminate that.. What shld... (8 Replies)
Discussion started by: Jeevitha
8 Replies
LEARN ABOUT DEBIAN
relaytest
relaytest(1) General Commands Manual relaytest(1)NAME
relaytest - attempt to use SMTP to relay to a DSBL-compliant host
SYNOPSIS
relaytest [-v] <ip address[:port]>
DESCRIPTION
relaytest attempts to connect to the specified <ip address> on the specified port (default is port 25) and uses a variety of tests to
attempt to relay through the host.
In the tests below, source.com is sender_domain from dsbl.conf(5) and sender is sender_user.
Non-domain-specific tests:
MAIL FROM:<sender@source.com>
RCPT TO:<listme@dsbl.org>
MAIL FROM:<sender@source.com>
RCPT TO:<"listme@dsbl.org">
MAIL FROM:<sender@source.com>
RCPT TO:listme@dsbl.org
MAIL FROM:<sender@source.com>
RCPT TO:<dsbl.org!listme>
MAIL FROM:<nobody>
RCPT TO:<listme@dsbl.org>
MAIL FROM:<nobody>
RCPT TO:<"listme@dsbl.org">
MAIL FROM:<nobody>
RCPT TO:listme@dsbl.org
MAIL FROM:<nobody>
RCPT TO:<dsbl.org!listme>
MAIL FROM:<source.com!sender>
RCPT TO:<listme@dsbl.org>
MAIL FROM:<source.com!sender>
RCPT TO:<"listme@dsbl.org">
MAIL FROM:<source.com!sender>
RCPT TO:listme@dsbl.org
MAIL FROM:<source.com!sender>
RCPT TO:<dsbl.org!listme>
MAIL FROM:<>
RCPT TO:<listme@dsbl.org>
MAIL FROM:<>
RCPT TO:<"listme@dsbl.org">
MAIL FROM:<>
RCPT TO:listme@dsbl.org
MAIL FROM:<>
RCPT TO:<dsbl.org!listme>
relaytest then builds a list of possible domains, including "[127.0.0.1]", "localhost", [<ip address>], and any other domains that can be
derived from reverse DNS of the IP or the SMTP greeting.
Domain specific tests:
MAIL FROM:<nobody@DOMAIN>
RCPT TO:<listme@dsbl.org>
MAIL FROM:<nobody@DOMAIN>
RCPT TO:<"listme@dsbl.org">
MAIL FROM:<nobody@DOMAIN>
RCPT TO:listme@dsbl.org
MAIL FROM:<nobody@DOMAIN>
RCPT TO:<listme%dsbl.org@DOMAIN>
MAIL FROM:<nobody@DOMAIN>
RCPT TO:<listme%dsbl.org>
MAIL FROM:<nobody@DOMAIN>
RCPT TO:<"listme%dsbl.org">
MAIL FROM:<nobody@DOMAIN>
RCPT TO:<listme@dsbl.org@DOMAIN>
MAIL FROM:<nobody@DOMAIN>
RCPT TO:<"listme@dsbl.org"@DOMAIN>
MAIL FROM:<nobody@DOMAIN>
RCPT TO:<@DOMAIN:listme@dsbl.org>
MAIL FROM:<nobody@DOMAIN>
RCPT TO:<dsbl.org!listme>
MAIL FROM:<nobody@DOMAIN>
RCPT TO:<dsbl.org!listme@DOMAIN>
MAIL FROM:<DOMAIN!nobody>
RCPT TO:<dsbl.org!listme>
MAIL FROM:<DOMAIN!nobody>
RCPT TO:<dsbl.org!listme@DOMAIN>
MAIL FROM:<nobody@DOMAIN>
RCPT TO:<listme@dsbl.org>
MAIL FROM:<postmaster@DOMAIN>
RCPT TO:<listme@dsbl.org>
MAIL FROM:<administrator@DOMAIN>
RCPT TO:<listme@dsbl.org>
MAIL FROM:<sales@DOMAIN>
RCPT TO:<listme@dsbl.org>
MAIL FROM:<info@DOMAIN>
RCPT TO:<listme@dsbl.org>
MAIL FROM:<webmaster@DOMAIN>
RCPT TO:<listme@dsbl.org>
MAIL FROM:<listserv@DOMAIN>
RCPT TO:<listme@dsbl.org>
relaytest then tries a variety of SMTP AUTH methods to try to relay a message through the target server.
The envelopes used for these tests are always:
MAIL FROM:<sender@source.com>
RCPT TO:<listme@dsbl.org>
The SMTP AUTH methods tried are as follows:
AUTH LOGIN, user=/webmaster, password=(null)
AUTH LOGIN, user=admin, password=admin
AUTH LOGIN, user=administrator, password=(null)
AUTH LOGIN, user=test, password=test
AUTH NTLM (anonymous)
OPTIONS -v Verbose mode. Details of the SMTP transaction are written to standard output.
AUTHOR
Ian Gulliver <ian@penguinhosting.net>
SEE ALSO dsbl.conf(5), spamtrap(1)
2002-04-03 relaytest(1)