On Monday 23 January 2006 07:04, [EMAIL PROTECTED] wrote:
> Yang saya mau ... saya kirim email dengan perintah mail dalam satu baris
> perintah ..  bgitu ..:)

Itu tergantung shell anda gimana cara melakukan IO redirection. 'mail' 
menerima input dr stdin. Jadi tinggal gimana redirect isi pesan email (entah 
dr output suatu command atau dr file) ke program 'mail' tsb. Bukan masalah 
mail, tapi shell.

Contoh di bourne shell (termasuk bash):

        date | mail -s sekarang ronny
        mail -s log ronny < /var/log/syslog

'man mail' kalo perlu yg lebih kompleks dr contoh di atas.

Ronny

Attachment: pgpWMHIPrSAV4.pgp
Description: PGP signature

Kirim email ke