How to restart and shutdown Arch Linux via terminal

Endrit Qerreti

Endrit Qerreti

In this tutorial, you will learn how to restart and shutdown Arch Linux, via the terminal.

If you are new to Arch Linux, and you want to know how to restart or shutdown your Arch Linux machine, via terminal, without having to use GUI, then you can easily do so by following steps below.

In this tutorial, we'll be restarting and shutting off Arch Linux directly from the terminal.

How to restart Arch Linux

Method 1: Restart Arch Linux via reboot command

reboot command in Arch Linux, allows you to reboot your machine, once the reboot command is executed in your terminal.

reboot command is part of the systemd, which means you don't need install an additional tool in your Arch Linux machine, in order to be able to run the reboot command.

To reboot your Arch Linux machine, via terminal, you can easily do so by running the command below.

reboot

Method 2: Restart Arch Linux via systemctl

Another way of restarting Arch Linux, is by running systemctl reboot command, instead of the reboot command, as reboot command is simply the equivalent of systemctl reboot.

Sometimes when reboot command doesn't work, to restart your machine, you need to use the systemctl reboot

To restart your Arch Linux machine, via the systemctl command, simply run the command below.

systemctl reboot

How to shutdown Arch Linux

Method 1: Shutdown Arch Linux via poweroff command

poweroff command in Arch Linux, allows you to shutdown your Arch linux system easily by using terminal.

To shutdown Arch Linux, via the terminal, simply run the command below.

poweroff

💡
Note: If the poweroff command doesn't work, you need to check if the user that you are running the poweroff command has the permission to do so. In this case, you may need to run poweroff as sudo.

sudo poweroff

Method 2: Shutdown Arch Linux via systemctl command

poweroff command is a symlink of systemctl poweroff, which means to shut down your Arch Linux machine, you can simply do so by running the command below.

systemctl poweroff

Conclusion

In this tutorial, you learned how to restart Arch Linux via terminal, by using the reboot and systemctl reboot commands.

And also how to shutdown Arch Linux via poweroff and systemctl poweroff commands.