Linux Questions and Answers

Exercise

Exercise 1
Exercise 2

Article

Q 1
What command is used to list the jobs currently in print queues?

A)   lpq

B)   lpr

C)   lprm

D)   lpc


Correct Option - A

Explanation


Report this question

Q 2
To build a modularized kernel, the kernel-headers and kernel-source packages must first be installed. Where will you find the kernel-headers and kernel-source?

A)   /usr/local

B)   /usr/src/linux

C)   /usr/sre/redhat

D)   /usr/bin


Correct Option - B

Explanation


Report this question

Q 3
What command is used to compare the files?

A)   ccp

B)   du

C)   cmp

D)   comp


Correct Option - C

Explanation


Report this question

Q 4
You just added a new user, kara, to the system. What group is kara added to by default?

A)   root

B)   kara

C)   group

D)   user


Correct Option - B

Explanation


Report this question

Q 5
Which of the following NIS clients returns the name of the NIS server used by the NIS client?

A)   ypwhich

B)   ypbind

C)   ypcat

D)   yppoll


Correct Option - A

Explanation


Report this question

Q 6
What command is used with file named 'letter' to remove the executable permission from the user and assign read permission to the group and others?

A) chmod go + x, u - x letter

B) chmod g - x, uo + r letter

C) chmod go + r, u + x letter

D) chmod u - x, go + r letter


Correct Option - D

Explanation


Report this question

Q 7
After you have compiled your kernel, what do you have to edit to boot your new kernel image?

A)   /boot/lilo.conf

B)   /etc/conf.modules

C)   /etc/named.boot

D)   /etc/lilo.conf


Correct Option - D

Explanation


Report this question


Share This Page -