shutdown command

Chris Green cl at isbd.net
Tue Feb 14 10:58:56 UTC 2012


On Mon, Feb 13, 2012 at 11:32:20PM -0500, Rashkae wrote:
> On 02/13/2012 09:52 PM, Sam Sebastian 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?
> >
> >thanks Sam
> >
> 
> I don't know what the shutdown command is supposed to do.  That must
> be something new in recent Ubuntu releases (try man shutdown).  The
> command you probably want, however, is "sudo poweroff"
> 
The command line shutdown command has been around since the early days
of Unix.  Many other commands are just different ways of calling it.

Looking at /sbin it seems that halt and poweroff are symbolic links to
reboot but shutdown is actually different.  However the man page for
reboot says that (except for some specific options) reboot calls
shutdown.

So basically it's shutdown at the bottom of all these commands.

-- 
Chris Green




More information about the ubuntu-users mailing list