Showing posts with label kernel. Show all posts
Showing posts with label kernel. Show all posts

RHCE # Week # 278



Question: 


What is the correct location of the Linux Kernel?

A. /boot/vmlinuz
B. /boot/bzImage
C. /boot/kernel
D. /boot/vmlinux


Explanation:


A kernel is a program that constitutes the central core of a computer operating system. It is the first thing that is loaded into memory when a computer is booted up (that is started), and it remains in the memory for the entire time that the computer is in operation.

Linux kernel is dynamic, supporting the addition and removal of software components on the fly.

vmlinuz is the name of the Linux kernel executable. Actually vmlinuz is a compressaed Linux kernel, and it is bootable. Bootable means it is capable of loading the operating system into memory so that the computer becomes usable and application programs can be run.

vmlinuz should not be confused with vmlinux, which is the kernel in a non-compressed and non-bootable form. vmlinux generally just an intermediate step to producing vmlinuz.

vmlinuz is located in the /boot directory, which is the directory that contains the files needed to begin booting the system. The file named vmliuz might be the actual kernel executable itself, or it could be a link to the kernel executable, which might bear a name such as /boot/ vmlinux-2.4.18.8.0 (that is the name of the specific version of the kernel).


Answer:  A

RHCE # Week # 271

Question: 

Which of the following commands or command flags can be used to list the installed services and their associated runlevels ?

A. menuconfig
B. xconfig
C. chkconfig
D. config

Explanation:

The chkconfig tool is used to update and query runlevel information for system services. The chkconfig tool has the following primary functions:
  • Adding new services for management
  • Removing services for management
  • Listing the current startup information for services
  • Changing the startup information for services
  • Checking the startup state of a particular service

make config -- configure kernel(plain ASCII)
make menuconfig -- configure kernel (ASCII-Menus)
make xconfig -- configure kernel (X window based)


Answer:  C