From: Steven Woody on
I forgot what command which can tell me current init runlevel value.
Thanks.
From: Michael Tosch on
Steven Woody wrote:
> I forgot what command which can tell me current init runlevel value.
> Thanks.

who -r


--
Michael Tosch @ hp : com
From: pk on
Steven Woody wrote:

> I forgot what command which can tell me current init runlevel value.
> Thanks.

Did you try "runlevel"?
Under linux it's usually available.

--
All the commands are tested with bash and GNU tools, so they may use
nonstandard features. I try to mention when something is nonstandard (if
I'm aware of that), but I may miss something. Corrections are welcome.
From: Bill Marcum on
On 2008-04-09, Steven Woody <narkewoody(a)gmail.com> wrote:
>
>
> I forgot what command which can tell me current init runlevel value.
> Thanks.

runlevel ?
From: Steven Woody on
On Apr 10, 12:30 am, Bill Marcum <marcumb...(a)bellsouth.net> wrote:
> On 2008-04-09, Steven Woody <narkewo...(a)gmail.com> wrote:
>
>
>
> > I forgot what command which can tell me current init runlevel value.
> > Thanks.
>
> runlevel ?

Good! Thank you!

The runlevel prints:
N 3
From the runlevel's man page, I got N means the previous runlevel is
not exist. I can not understand this. I guess, there is at least one
runlevel prior to level 3, such as 0. Why `runlevel' just tell me `N'?