command installation problem

 
neocosmic
Occasional Contributor

command installation problem

If my Linux dosnt have "trap", "file" ...
where can i find it and install?
2 REPLIES 2
neocosmic
Occasional Contributor

Re: command installation problem

what command can be used to send a email in script?

Re: command installation problem

Hi,

You can use in your script:

# cat | sendmail

or whatever output you have you an pipe it through to sendmail.

# | sendmail

Regards,
Trystan