Mailing List Archive

init vs. telinit vs. shutdown vs. ....
Hi all,

I'm a little confused. There're lots of ways telling the host to shutdown (or
reboot).

I usually use "shutdown -h now" to shutdown, as this was the very first
command I learned to shutdown.
init is the (hierarichal seen) root process that can also be used to switch
between the runlevels, though, init 0, to shutdown as well.
Then, I read about telinit, that is to be used to tell init to switch between
the runlevels.
Not to mention halt, reboot, and poweroff.

Any comments?
Christian Parpart.

--
19:59:45 up 13 days, 7:39, 6 users, load average: 0.31, 0.34, 0.29
Re: init vs. telinit vs. shutdown vs. .... [ In reply to ]
They all work the same basic way, or are shortcuts to each other. Just
use whichever is most convenient for you. (I tend to use halt and
reboot commands because I have no need for timed shutdowns, nor do I
like to type a lot.)


On Mon, 6 Sep 2004 20:04:17 +0200, Christian Parpart
<cparpart@surakware.net> wrote:
> Hi all,
>
> I'm a little confused. There're lots of ways telling the host to shutdown (or
> reboot).
>
> I usually use "shutdown -h now" to shutdown, as this was the very first
> command I learned to shutdown.
> init is the (hierarichal seen) root process that can also be used to switch
> between the runlevels, though, init 0, to shutdown as well.
> Then, I read about telinit, that is to be used to tell init to switch between
> the runlevels.
> Not to mention halt, reboot, and poweroff.
>
> Any comments?
> Christian Parpart.
>
> --
> 19:59:45 up 13 days, 7:39, 6 users, load average: 0.31, 0.34, 0.29
>
>
>
>

--
gentoo-user@gentoo.org mailing list
Re: init vs. telinit vs. shutdown vs. .... [ In reply to ]
On Mon, 6 Sep 2004 20:04:17 +0200, Christian Parpart
<cparpart@surakware.net> wrote:
> Hi all,
>
> I'm a little confused. There're lots of ways telling the host to shutdown (or
> reboot).
>
> I usually use "shutdown -h now" to shutdown, as this was the very first
> command I learned to shutdown.
> init is the (hierarichal seen) root process that can also be used to switch
> between the runlevels, though, init 0, to shutdown as well.
> Then, I read about telinit, that is to be used to tell init to switch between
> the runlevels.
> Not to mention halt, reboot, and poweroff.
>
> Any comments?

Yes, of course, all of these are possible, and, if you're not running
X, the old three-fingered saulte to inititate the process. In my case
with wdm as the login manager, I get to choose between reboot and halt
possibilities without worrying about any of the other methods. Since
my motherboard has the right power options, the halt option invokes
poweroff.

It's whatever floats your boat.

--
/\/\
(CR) Collins Richey
\/\/ 20 minutes is the average that a Windows based PC lasts
before it's compromised.
- according to the Internet Storm Center.

--
gentoo-user@gentoo.org mailing list