Beruflich Dokumente
Kultur Dokumente
Change Runlevels n
io
t
a
c
and Shut Down or Reboot
it fi com
r d.
e
Systemx C kaca
I
P
L
u
b
.
n
Li www
//
:
tp
t
h
Objectives
n
o
i
t
Change Runlevels and Shut Down or Reboot System
a
c
Single-User Mode
it fi com
.
Overview of the /etc Directory Tree and the initerProcess
d
a
C
c
Setting the Default Runlevel
a
x
k
u
b
.
Determining Your Systems Runlevel in
w
w
L
I
/w
/
:
LP http
I
P
L
//
:
tp
t
h
i
t
er
n
o
i
t
a
c
fi
a
c
Memory and CPU information
a
k
Information on detected hardware: mice, disks .b
w
Network initialization
w
/w boot time
Kernel module output for modules that load:/at
tp # dmesg | more
t
To view messages from the last boot sequence:
h
I
P
L
x
u
n
i
L
Runlevel
Specifies different ways to use a system by controlling which
services are running
n
Runlevels are specified by the integers 0 through 6 io
t
I
P
L
i
t
er
a
c
fi
a
x
k
u
b
.
n
ww
Li
w
//
:
tp
t
h
d
a
c
.c o
Runlevel :
I
P
L
i
t
er
n
o
i
t
a
c
fi
a
x
k
u
b
.
n
ww
Li
w
//
:
tp
t
h
d
a
c
.c o
Single-User Mode :
Runlevel 1, the single-user runlevel, is a bare-bones operating
environment intended for system maintenance
nmost
o
Remote logins are disabled, networking is disabled, and
i
t
a
daemons are not started
c
i
f
m mode
i
One common reason you might be forced to uset single-user
o
c
r d.
e
is to correct problems with a corrupt filesystem
a system
C thatacthe
x bk
cannot handle automatically
u
.
n
To switch into single-user mode from another
w
i
runlevel:
w
L
w
I
//
:
P
L http
I
P
L
u
b
.
n
Li www
//
:
tp
t
h
I
P
L
i
t
er
n
o
i
t
a
c
fi
a
x
k
u
b
.
n
ww
Li
w
//
:
tp
t
h
d
a
c
.c o
I
P
L
n
i
L
.
w
w
w
//
:
tt p
h has just completed
A system with a default runlevel of 5 that
booting, the output would be:
i f com
t
r d.
e
a
C
I
P
L
c
a
x
k
u
b
.
n
i
ww
L
w
//
:
tp
t
h
I
P
L
i
t
er
n
o
i
t
a
c
fi
a
x
k
u
b
.
n
ww
Li
w
//
:
tp
t
h
d
a
c
.c o