Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 May 2011 02:27:44 +0100
From:      Frank Shute <frank@shute.org.uk>
To:        Alexander Lardner <linuxtux37@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Input file for shutdown warning?
Message-ID:  <20110517012744.GA64176@orange.esperance-linux.co.uk>
In-Reply-To: <E97FC927-D734-42CD-AC3C-49BBDCF759A0@gmail.com>
References:  <E97FC927-D734-42CD-AC3C-49BBDCF759A0@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--5vNYLRcllDrimb99
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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

Use wall(1)

# wall somefile && shutdown -p now


Regards,

--=20

 Frank

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



--5vNYLRcllDrimb99
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.16 (FreeBSD)

iEYEARECAAYFAk3Rzw8ACgkQHduKvUAgeK7UIQCfXZiAbzRkgFLx0HNPxF4vZQLj
IUgAoM3b+pvpECg8JMmxgZiRZW06EWk/
=WLw+
-----END PGP SIGNATURE-----

--5vNYLRcllDrimb99--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110517012744.GA64176>