Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Which of the following commands saves a file in Vi and exits from the editor? Select one: a. :!exit b. :wq c. :e d.

1. Which of the following commands saves a file in Vi and exits from the editor?

Select one:

a. :!exit

b. :wq

c. :e

d. :!save

2. What is the first process that the Linux kernel runs when it boots on most Linux systems?

Select one:

a. init

b. root

c. zombie

d. dmesg

3. You want to install Linux on a BIOS-based computer that already boots several OSs using the System Commander boot loader. Where should you install GRUB if you dont want to disrupt the System Commander configuration?

Select one:

a. In the boot sector of a Linux swap partition

b. In the MBR of the main hard disk

c. In the boot sector of a Linux filesystem partition

d. In the boot sector of a Windows C: drive

4. Which of the following methods will safely power down the computer? (Select all that apply.)

Select one or more:

a.Typing shutdown -r now as root.

b. Typing shutdown -h now as root.

c. Typing telinit 0 as root.

d. Pushing the power button on the computers case.

5. While editing a file in Vi, youre called away. When you return, you cant recall which of Vis three modes youre in. How can you return to a known mode?

Select one:

a. Press the Esc key

b. Type :wq

c. Type mode: edit

d. Press the F1 key

6. The Exim server isnt starting in runlevel 5. What files might you examine, and possibly edit or rename, to fix this problem? (Choose all that apply.)

Select one or more:

a. /etc/inetd.conf

b. /etc/rc.d/rc5.d/K50exim

c./etc/inittab

d. /etc/X11/xorg.conf

7. Which of the following systems is the earliest one in the boot sequence of a typical x86 or x86-64 Linux computer?

Select one:

a. BIOS or EFI

b. bash

c. GRUB

d. init

8. Youve changed the default runlevel to 3 by editing /etc/inittab. Which command could you type to change the current runlevel to 3? (Choose all that apply.)

Select one or more:

a. telinit Q

b. telinit --reload

c. telinit S

d. telinit 3

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions

Question

1. Let a, b R, a Answered: 1 week ago

Answered: 1 week ago