shutdown-hnow
You can shut down most Linux systems by issuing the 'halt' command.
Halt
Virtually all Linux distributions will accept the "halt" command. Some also have a shutdown command, though this has additional parameters and is meant mainly to shut down the system at a certain time.
The fsck command can be used to repair improperly shut down or potentially corrupt partitions on Linux systems. It checks the file system integrity and attempts to repair any inconsistencies it finds.
Using the command shutdown -h 5.
# shutdown -h 5 The system will shut down in five minutes. Log off now?
To shut down an FTP server in Linux, you would generally use "ftpshut." The command syntax can vary slightly, so check your man pages for the correct syntax.
Yes.
If you want to shut down the computer, usually "poweroff" or "shutdown -h now" would do. If you want to exit from the graphical interface, you typically just need to shut down the X server (the graphical session generally runs through a display manager session or your startx command)
Using the shutdown command to shutdown in five minutes and delaying shutting down for five minutes are synonymous.
Shut down the computer and reconnect the keyboard.Try to recover the system to earlier time.
poeroff