50%

🚀

3

Linux , . , , , .

Merion Academy


, Linux shutdown .

   shutdown  Linux

Linux, :

shutdown [options] [time] [message]
  • [options] - , , .
  • [time] - , .
  • [message] - , .

shutdown Linux root sudo.

, sudo shutdown 60 .

sudo shutdown

Linux, :

sudo shutdown --help

, .

sudo shutdown --help

, [time] , , . - .

: (hh:mm) . :

sudo shutdown hh:mm

, 7 , :

sudo shutdown 07:00
sudo shutdown 07:00

+m . :

sudo shutdown +m

20 , :

sudo shutdown +20
sudo shutdown +20

, shutdown - . , , :

sudo shutdown now

- , 0, :

sudo shutdown +0

, , , . , , .

[message], [time]:

sudo shutdown [time] "[message]"

, 20 , :

sudo shutdown +20 "System Upgrade"
sudo shutdown +20 'System Upgrade'

, :

sudo shutdown -c

. [message] ( ) . :

sudo shutdown -c "Canceling System Upgrade"

>