Beginner question: how do I cleanly shut down my new 7.04 server installation?

Asked by Tim Sorensen

The basic Ubuntu documentation pages are excellent!! I’ve found everything I need to get a basic web server up and running…with one small exception: I can’t find any information on how to cleanly turn off my Ubuntu server installation from the command line. When I turn off the computer power…it appears that some files are corrupted, and I sometimes have to re-install everything.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Mathias Uebelacker
Solved:
Last query:
Last reply:
Revision history for this message
Best Mathias Uebelacker (muebelacker) said :
#1

Hello Tim,

to turn your maschine off from a command-line you can use

shutdown

sudo shutdown -h now ##the maschine will be turned off
sudo shutdown -h +60 ##the maschine will be turned off in 60 minutes

for more information type man shutdown

br
Mathias

Revision history for this message
Tim Sorensen (sorenti) said :
#2

Thanks Mathias Uebelacker, that solved my question.