using mail to send config files

Página superior
Adjuntos:
Obtener este mensaje como un correo
+ (text/plain)
Eliminar este mensaje
Responder a este mensaje
Autor: Craig White
Fecha:  
Asunto: using mail to send config files
On Tue, 2002-11-19 at 15:04, Scott H wrote:
> I want to email a few text config files from a RH
> 7.3 postfix server every night, automatically,
> using cron. I don't see how to use the "mail"
> command to attach files, though. How does one do
> this?
>

----
try this...

mail < /etc/passwd

;-)

Craig