How to turn off, restart, and shut down Linux
Below is a listing of each of the commands that allow you to shut down, turn off, reboot, etc. a Linux computer from the command line.
Command line commands
Additional information about each of these commands can be found by clicking on any of the links below.
Shutting down or rebooting the computer from a GUI interface
Shutting down or rebooting the computer from a GUI interface depends on what GUI you are using. Often the shutdown, log out, reboot, etc. are located through the GUI's main menu or bar located on one of the sides of the window. If you are unable to find a method of shutting down or rebooting the computer remember you can shut down or reboot the computer using the above commands in a shell, you could also create scripts that would run these commands from the GUI.