Home
1.
What is the first program the Linux kernel runs once the kernel itself is running, assuming a normal Linux startup procedure?
  • A.
    begin
  • B.
    startx
  • C.
    Startup
  • D.
    init
  • Answer & Explanation
  • Report
Answer : [D]
Explanation :
By default, the kernel launches the /sbin/init program as its first process, as option D specifies. This program handles the rest of the system startup process, including launching SysV or Upstart startup scripts. Options A, begin , and C, Startup, are fictitious programs. Option B's startx is a user script that's used to start the X server after a text - mode login; it's not involved in the system startup process.
Report
Name Email  
2.
You have accidentally renamed your system's kernel file and rebooted the computer, with the result that GRUB won't start the computer. If you remember the name you used when renaming the kernel file, how can you start the computer in a simple way?
  • A.
    Select the misbehaving kernel entry in GRUB, press the D key to have it detect your kernels, and select the correct one from the list.
  • B.
    Select the misbehaving kernel entry in GRUB, press the E key, and edit the kernel's name.
  • C.
    Hold down the Shift key while booting to enter the Recovery Console and select the correct kernel within that tool.
  • D.
    You can't; this error is severe enough that the only corrective measure is to reinstall Linux.
  • Answer & Explanation
  • Report
Answer : [B]
Explanation :
GRUB enables you to edit its entries on a one - time basis by selecting them and pressing the E key, as specified in option B. Options A and C both describe fictitious procedures. (Although Windows provides a tool called the Recovery Console, Linux does not.) Because option B is correct, option D cannot be — although of course reinstalling Linux would fix the problem but hardly in a simple way.
Report
Name Email  
3.
How can you boot Linux directly into single - user mode?
  • A.
    In GRUB, select the kernel image you want to boot, press E, and add 1 or single to the kernel or linux line.
  • B.
    In GRUB, select the kernel image you want to boot, press the 1 key, and confirm your intentions by responding yes to the prompt.
  • C.
    In GRUB, type single at the boot: prompt to boot the kernel while passing it the parameter single .
  • D.
    In GRUB, type boot - single - user; true; boot - now to boot the default kernel in single - user mode.
  • Answer & Explanation
  • Report
Answer : [A]
Explanation :
Option A describes one method of booting into single - user mode. (It's also possible to create a permanent GRUB entry for single - user mode that you can select more directly.) Options B, C, and D all describe fictitious actions that would have no effect. (Option C describes a boot: prompt, which is a feature of the older Linux Loader, LILO, not of GRUB.)
Report
Name Email  
4.
In what file is the system's initial runlevel specified on a SysV system?
  • A.
    /etc/fstab
  • B.
    /etc/init.d/runlevel
  • C.
    /etc/inittab
  • D.
    /etc/runlevel
  • Answer & Explanation
  • Report
Answer : [C]
Explanation :
The /etc/inittab specifies the initial runlevel on its id line, as stated in option C. The /etc/fstab file of option A holds information on filesystems and their mount points. The /etc/init.d/runlevel and /etc/runlevel files of options B and D are both fictitious.
Report
Name Email  
5.
How can you enter GRUB's interactive recovery mode?
  • A.
    Press the I key at the GRUB main menu.
  • B.
    Press the R key at the GRUB main menu.
  • C.
    Press the M key at the GRUB main menu.
  • D.
    Press the C key at the GRUB main menu.
  • Answer & Explanation
  • Report
Answer : [D]
Explanation :
Pressing the C key enters GRUB's interactive mode, as option D specifies. The other options do not have this effect.
Report
Name Email