shutdown command

Ioannis Vranos ioannis.vranos at gmail.com
Tue Feb 14 05:23:46 UTC 2012


On Tue, Feb 14, 2012 at 4:52 AM, Sam Sebastian <sebastiansam55 at gmail.com> wrote:
> when i run the shutdown command from the terminal (sudo) it does not
> shutdown the computer, it just goes to the screen, i really don't know what
> its called its the same one that shows up in boot up and when you do "sudo
> service lxdm restart" or something similar. Is the something that i am
> missing?

I suppose you did not specify a command line argument like -P.


Example: shutdown -P now

If you do not specify a command line argument, shutdown changes the
current runlevel of the system, to Single User runlevel (where you are
the root).

It is equivalent of selecting the "recovery mode" entry in the boot menu.


-- 
Ioannis Vranos

http://cppsoftware.binhoster.com




More information about the ubuntu-users mailing list