Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '`shutdown` is more useful' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
`shutdown` is more useful
Authored by: Anonymous on Apr 04, '01 09:34:12AM
if a reboot is necessary [yes, it does happen], the more versatile 'shutdown' command is actually the ability to reboot or shut down remotely can be useful to a sysadmin. But the shutdown command is even cooler you can use it to shut the machine down, reboot, and you can add a handy delay, which will warn all users logged into a terminal that the system is going down. [anyone know if this is tied into Aqua in any way?] to shutdown immediately:
`shutdown now`
to restart at 5:00 PM tomorrow:
`shutdown -r 0104051700`
to restart now:
`shutdown -r now`
to kick all users off, but not shutdown:
`shutdown -k now`
the format for that date is YYMMDDHHMM, by the way. -perry

[ Reply to This | # ]