|--> emailitis.com, le 02/12/2013 17:02, a dit :
>
> *#!/bin/bash*
>
> *# mail*
>
> **
>
> */usr/local/psa/var/log/maillog*
>
> does not work and says “grep: mail: No such file or directory”
>

1
root# ln -s /usr/local/psa/var/log/maillog mail
root# grep spamdyke mail

2
#!/bin/bash
#grepmail
/bin/grep $1 /usr/local/psa/var/log/maillog

root# grepmail spamdyke

xaf
_______________________________________________
spamdyke-users mailing list
[email protected]
http://www.spamdyke.org/mailman/listinfo/spamdyke-users

Reply via email to