How to script



Hi,

I want to schdule shutdown with -t option but this option will prompt
me to answer "yes" or "no". How to go about putting in the yes in the
script?

Thanks in advance.
.