Question:
In a Linux computer, which of the following files defines run levels for the processes to be started up during boot up?
A. /etc/syslog.conf
B. /etc/lilo.conf
C. /etc/runlevel
D. /etc/inittab
Explanation:
In a Linux computer, which of the following files defines run levels for the processes to be started up during boot up?
A. /etc/syslog.conf
B. /etc/lilo.conf
C. /etc/runlevel
D. /etc/inittab
Explanation:
It specifies run levels for each processes.
The format of an entry in the /etc/inittab file is as follows:
id:runlevels:actions:process
where,
A run level is a state of a linux system, which defines which system services are operating. Following are some of the important run levels used by a linux system:
Run Level | Description
0 All processes are terminated and the computer comes to a helt.
1 This run level switches the system to a single-user mode. It is frequently used for system maintenance.
2 This run level is used for multiuser mode.
3,4 These run levels are used for multiuser mode with network services.
5 This run level is used for multiuser mode with network services and presents a graphical user interface.