11.04.2013 Views

Guida avanzata di scripting Bash - Portale Posta DMI

Guida avanzata di scripting Bash - Portale Posta DMI

Guida avanzata di scripting Bash - Portale Posta DMI

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

i. export SPAMMER_LIMIT=1<br />

or whatever limit you want.<br />

ii. OR provide the desired limit as the first<br />

argument to the script.<br />

3. Optional execution trace log.<br />

(a) To use the default setting of no log output: Do nothing.<br />

(b) To write an execution trace log:<br />

export SPAMMER_TRACE=spammer.log<br />

or whatever filename you want.<br />

4. Optional graphic description file.<br />

(a) To use the default setting of no graphic file: Do nothing.<br />

(b) To write a Graph-Viz graphic description file:<br />

export SPAMMER_DATA=spammer.dot<br />

or whatever filename you want.<br />

5. Where to start the search.<br />

(a) Starting with a single domain name:<br />

i. Without a command line search limit: First<br />

argument to script.<br />

ii. With a command line search limit: Second<br />

argument to script.<br />

(b) Starting with a single IP address:<br />

i. Without a command line search limit: First<br />

argument to script.<br />

ii. With a command line search limit: Second<br />

argument to script.<br />

(c) Starting with (mixed) multiple name(s) and/or address(es):<br />

Create a file with one name or address per line.<br />

Your choice of filename.<br />

i. Without a command line search limit: Filename as<br />

first argument to script.<br />

ii. With a command line search limit: Filename as<br />

second argument to script.<br />

6. What to do with the <strong>di</strong>splay output.<br />

Appen<strong>di</strong>ce A. Script aggiuntivi<br />

708

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!