Linux Multiple Choice Questions & Answers - Set 03 - ObjectiveBooks

Linux Multiple Choice Questions & Answers - Set 03

Practice Test: Question Set - 03


1. What command do you use to add routes to a Linux router?
    (A) addroute
    (B) route
    (C) netstat
    (D) net

2. What type of addressing format is used by Class A network.
    (A) Net.Net.Net.Node
    (B) Net.Net.Node.Node
    (C) Net.Node.Net.Node
    (D) Net.Node.Node.Node

3. What file specifies the order in which to use specified name services?
    (A) /etc/services
    (B) /etc/nsorder
    (C) /etc/nsswitch.conf
    (D) /etc/hosts

4. What command do you use to delete a file?
    (A) rename
    (B) delete
    (C) rm
    (D) cp

5. ________ tool allows you to change your default X Window desktop.
    (A) utilinux
    (B) cempre
    (C) switchdesk
    (D) window

6. Which of the following command can you execute to count the number of lines in a file?
    (A) lc
    (B) wc - l
    (C) cl
    (D) count

7. What command is used to assign executable permission to the owner of the file named "letter"?
    (A) chmod ugo + x letter
    (B) chmod u + x letter
    (C) chmod u + w letter
    (D) chmod g + x letter

8. What file contains the list of port numbers (and associated names) monitored by inetd?
    (A) /etc/services
    (B) /etc/nsorder
    (C) /etc/nsswitch.conf/
    (D) /etc/hosts

9. What command is used to sort the lines of data in a file in alphabetical order?
    (A) sort - r
    (B) st
    (C) sh
    (D) sort

10. Which of the following format of partition tables does Linux use?
    (A) Linux
    (B) BSD
    (C) UnixWare
    (D) DOS

Show and hide multiple DIV using JavaScript View All Answers

 Next Tests: