how to shutdown / reboot debian 10

5
(1)

Using shutdown command

Open the terminal and execute the following command to shut down the machine,

/usr/sbin/shutdown --poweroff

This will shut down the machine. If you want to cancel, you have to use the -c switch along with shutdown command.

Similarly, when you have to reboot, execute the below command. If you want to cancel your action, use –reboot option.

Using systemctl command

An alternative to the shutdown command is to use the systemd systemctl command.

Debian 10 power off using systemctl:

systemctl poweroff

Debian 10 reboot using systemctl:

systemctl reboot

Similar Posts:

1,421

How useful was this post?

Click on a star to rate it!

Average rating 5 / 5. Vote count: 1

No votes so far! Be the first to rate this post.

Scroll to Top