The graphical Fedora Core 4 login screen provides an easy way to shut down or restart your Linux computer system safely. However, sometimes the ability to shut down or restart from the command line is important. For example, if a server system becomes overloaded by a runaway database request or a coordinated web attack, you might want to be able to restart it from a remote location through a telnet or ssh login. The shutdown command shuts down or restarts a running Linux system from the command line. shutdown is typically used in one of the following two ways: shutdown -h time shutdown -r time Using shutdown with the -h option halts a running Linux system. Using shutdown with the -r option restarts a running Linux system. Replace time with one of the following:
For example, to immediately reboot a running Linux system, call the shutdown command with the -r option and the now argument: /sbin/shutdown -r now
|