Input file for shutdown warning?

Frank Shute frank at shute.org.uk
Wed May 18 01:55:19 UTC 2011


On Mon, May 16, 2011 at 05:38:21PM -0700, Alexander Lardner wrote:
>
> Hello,
> Is it possible to do something like this:
> 
> shutdown -p now /root/somefile
> 
> How would I do that, or is it even possible?
> Thanks,
> Alex

Use wall(1)

# wall somefile && shutdown -p now


Regards,

-- 

 Frank

 Contact info: http://www.shute.org.uk/misc/contact.html


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20110518/177fbd0c/attachment.pgp


More information about the freebsd-questions mailing list