reboot
Restart, halt, or power off the system. toybox
On Linux, macOS 1 Sigma rule name it
Linux
reboot/halt/poweroff [-fn] [-d DELAY]
-d DELAYWait DELAY before proceeding (in seconds or m/h/d suffix: -d 1.5m = 90s)-fForce reboot (don't signal init, reboot directly)-nDon't sync filesystems before rebootLinux
Reboot the system.
Reboot the system
rebootIdentifyTrips 1 Sigma rule: informationalSystem Shutdown/Reboot - MacOs by Igor Fits, Mikhail Larin, oscd.community
Power off the system (same as poweroff)
reboot --poweroffIdentifyTrips 1 Sigma rule: informationalSystem Shutdown/Reboot - MacOs by Igor Fits, Mikhail Larin, oscd.community
Halt (terminates all processes and shuts down the CPU) the system (same as halt)
reboot --haltIdentifyTrips 1 Sigma rule: informationalSystem Shutdown/Reboot - MacOs by Igor Fits, Mikhail Larin, oscd.community
Reboot immediately without contacting the system manager
reboot --forceIdentifyTrips 1 Sigma rule: informationalSystem Shutdown/Reboot - MacOs by Igor Fits, Mikhail Larin, oscd.community
Write the wtmp shutdown entry without rebooting the system
reboot --wtmp-onlyIdentifyTrips 1 Sigma rule: informationalSystem Shutdown/Reboot - MacOs by Igor Fits, Mikhail Larin, oscd.community
macOS
Reboot the system.
Reboot immediately
sudo rebootIdentifyTrips 1 Sigma rule: informationalSystem Shutdown/Reboot - MacOs by Igor Fits, Mikhail Larin, oscd.community
Reboot immediately without gracefully shutting down
sudo reboot -qIdentifyTrips 1 Sigma rule: informationalSystem Shutdown/Reboot - MacOs by Igor Fits, Mikhail Larin, oscd.community