Which of the following commands can be used to instruct the init process to switch runlevels?

Which of the following commands can be used to instruct the init process to switch runlevels?
(Choose TWO correct answers)

Which of the following commands can be used to instruct the init process to switch runlevels?
(Choose TWO correct answers)

A.
telinit

B.
initctl

C.
init

D.
reinit

E.
runlevel

Explanation:
From the man pages:
telinit – change system runlevel
init is not normally executed by a user process, and expects to have a process id of 1. If this is not the case, it will actually execute telinit(8) and pass all arguments to that.
runlevel – output previous and current runlevel
initctl – init daemon control tool
reinit command does not exist (on ubuntu or fedora)



Leave a Reply 1

Your email address will not be published. Required fields are marked *


kavyashree

kavyashree

Answer is A. telinit and C. init