commands.sh

reboot

linuxmacos

Reboot the system.

More info →

Options (3)

-p, --poweroffboolean

Power off the system (same as `poweroff`)

Example: reboot {{[-p|--poweroff]}}
-f, --forceboolean

Reboot immediately without contacting the system manager

Example: reboot {{[-f|--force]}}
-w, --wtmp-onlyboolean

Write the wtmp shutdown entry without rebooting the system

Example: reboot {{[-w|--wtmp-only]}}

Examples (5)

Reboot the system

Power off the system (same as `poweroff`)

reboot [-p|--poweroff]

Halt (terminates all processes and shuts down the CPU) the system (same as `halt`)

reboot --halt

Reboot immediately without contacting the system manager

reboot [-f|--force]

Write the wtmp shutdown entry without rebooting the system

reboot [-w|--wtmp-only]
made by @shridhargupta | data from tldr-pages