shutdown command

Basil Chupin blchupin at iinet.net.au
Tue Feb 14 05:32:02 UTC 2012


On 14/02/12 16:23, Ioannis Vranos wrote:
> 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.


The simple word "halt" will do it - without all the additional cruft.

BC

-- 
Aspire to inspire before you expire.





More information about the ubuntu-users mailing list