Co robi SHUTDOWN użycie. Konsola format), a number of minutes to wait (in + m format), or now . A.

Czy przydatne?

Polecenie shutdown

Wykonanie, użycie: System administration command. Terminate all processing. when may be a specific time (in hh:mm format), a number of minutes to wait (in +m format), or now. A broadcast message notifies all users to log off the system. Processes are signaled with SIGTERM to allow them to exit gracefully. /etc/init is called to perform the actual shutdown, which consists of placing the system in runlevel 1. Only privileged users can execute the shutdown command, although init may call shutdown with root privileges when the Ctrl-Alt-Del key combination is pressed from the console keyboard. Broadcast messages, default or defined, are displayed at regular intervals during the grace period; the closer the shutdown time, the more frequent the message

Opcje wykonania shutdown w konsoli


When called from init, shut down only if one of the users listed in the file /etc/shutdown.allow is currently logged in.


Cancel a shutdown that is in progress.


Reboot fast, by suppressing the normal call to fsck when rebooting.


Force a filesystem check (fsck) on reboot.


Halt the system when shutdown is complete.


Print the warning message, but suppress actual shutdown.


Reboot the system when shutdown is complete.

-t num

Ensure a num-second delay between killing processes and changing the runlevel.

Przykłady shutdown działanie w Słownik polecenie S