LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

systemctl-reboot

Restart the system

TLDR

Reboot the system
$ systemctl reboot
copy
Reboot into firmware setup
$ systemctl reboot --firmware-setup
copy
Force immediate reboot
$ systemctl reboot -f
copy
Reboot into a specific boot loader entry once
$ systemctl reboot --boot-loader-entry=[entry_id]
copy
Schedule reboot at a specific time
$ systemctl reboot --when=+30min
copy

SYNOPSIS

systemctl reboot [OPTIONS]

DESCRIPTION

systemctl reboot restarts the system, gracefully stopping all services and unmounting filesystems before initiating a hardware reset.The --firmware-setup option sets an EFI variable that tells the firmware to enter setup mode on next boot, useful for accessing UEFI settings without needing to press a key at the right time.

PARAMETERS

-f, --force

Skip graceful service shutdown
--force --force (-ff)
Immediate reboot without cleanup (dangerous)
--firmware-setup
Reboot into BIOS/UEFI firmware setup menu
--no-wall
Don't send wall message to users
--boot-loader-menu= TIMEOUT
Reboot into the boot loader menu, showing it for the specified timeout
--boot-loader-entry= ID
Reboot into a specific boot loader entry once (use `--boot-loader-entry=help` to list entries)
--when= TIMESTAMP
Schedule reboot at a specific time (use `--when=cancel` to cancel a scheduled reboot)

INSTALL

sudo apt install systemd
copy
sudo dnf install systemd
copy
sudo pacman -S systemd
copy
sudo zypper install systemd
copy
brew install systemd
copy
nix profile install nixpkgs#systemd
copy

CAVEATS

Force mode can cause data loss. Firmware setup support depends on UEFI implementation. Some systems may not support the firmware-setup flag.

HISTORY

The reboot subcommand integrates with systemd's shutdown infrastructure, providing scheduled reboots and firmware setup access that traditional reboot commands lacked.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid