shutdown

command
v0.9.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 29, 2022 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

shutdown halts, suspends, or reboots at a specified time, or immediately.

Synopsis:

shutdown [<-h|-r|-s|halt|reboot|suspend> [time [message...]]]

Description:

current operations are reboot (-r), suspend, and halt [-h].
If no operation is specified halt is assumed.
If a time is given, an opcode is not optional.

Options:

-r|reboot:	reboot the machine.
-h|halt:		halt the machine.
-s|suspend:	suspend the machine.

Time is specified as "now", +minutes, or RFC3339 format. All other arguments past time are printed as a message. This could be used, for example, as input to goexpect.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL