Table of Contents

NAME

runlevel - find the current and previous system runlevel.

SYNOPSIS

runlevel

DESCRIPTION

Runlevel prints the previous and current system runlevel on it's standard output, separated by a single space. If there is no previous system runlevel, the letter N will be printed instead.

Runlevel can be used in rc scripts as a substitute for the System-V who -r. However, in newer version of init this information is also available in the environment variables RUNLEVEL and PREVLEVEL.

OPTIONS

None.

SEE ALSO

init(8).

AUTHOR

Miquel van Smoorenburg, miquels@drinkel.ow.org


Table of Contents


www.fiveanddime.net


Google
Web www.fiveanddime.net