YouTip LogoYouTip

Linux Comm Shutdown

# Linux shutdown command [![Image 3: Linux Command Manual](#) Linux Command Manual](#) The Linux shutdown command can be used to initiate the shutdown procedure and send a message to all users' running programs before shutting down. The shutdown command can also be used to reboot the system. Permissions required: System administrator. ### Syntax shutdown time **Parameter Description**: * -t seconds : Set the number of seconds before initiating the shutdown procedure. * -k : Does not actually shut down, only sends a warning message to all users. * -r : Reboot after shutdown. * -h : Halt after shutdown. * -n : Do not use the normal procedure to shut down, force kill all running programs and then shut down. * -c : Cancel a shutdown that is currently in progress. * -f : Do not perform fsck (check Linux file system) during shutdown. * -F : Force fsck during shutdown. * -time : Set the time for shutdown. * -message : Warning message to send to all users. ### Examples Shut down immediately # shutdown -h now Shut down after 10 minutes # shutdown -h 10 Restart the computer # shutdown -r now [![Image 4: Linux Command Manual](#) Linux Command Manual](#)
← Linux Comm RwhoLinux Comm Screen β†’