Linux:
1. What command is used to count the total number of lines, words, and characters contained in a
file?
[Link]
[Link]
[Link]
[Link] p
E. None of the above
Answer: Option C
2. What command is used to remove files?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option B
3. What command is used to remove the directory?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option D
4. What command is used with vi editor to delete a single character?
A.x
B.y
C.a
D.z
E. None of the above
Answer: Option A
5. What hardware architectures are not supported by Red Hat?
[Link]
[Link]-compatible
[Link]
[Link]
E. None of the above
Answer: Option D
6. The physical layer of a network
[Link] packets of data and sends them across the network
[Link] error detection and correction
defines the electrical characteristics of signals passed between the computer and
C.
communication devices
D
All of the above
.
E. None of the above
Answer: Option C
7. What TCP/IP protocol is used for remote terminal connection service?
[Link]
[Link]
[Link]
D
TELNET
.
E. None of the above
Answer: Option D
8. How many networks and nodes per network, are allowed by the Class B network?
A.127 networks and 16,777,216 nodes per network
B.16,384 networks and 65,534 nodes per network
C.2,097,152 networks and 254 nodes per network
D
All of the above
.
E. None of the above
Answer: Option B
9. What service is used to translate domain names to IP addresses?
[Link]
[Link]
[Link]
D
DNS
.
E. None of the above
Answer: Option D
10. Which of the following command is used to create a Linux installation boot floppy?
A. mkboot disk
B. bootfp disk
C. ww and rawwrite
D. dd and rawrite
E. None of the above
Answer: Option D
11. How can you add Amit, a new user, to your system?
[Link] useradd
[Link] adduser
[Link] linuxconf
D
All of the above
.
E. None of the above
Answer: Option D
12. What file specifies the order in which to use specified name services?
A./etc/services
B./etc/nsorder
C./etc/[Link]
D
/etc/hosts
.
E. None of the above
Answer: Option C
13. How many primary partitions can exist on one drive?
A.16
B.4
C.2
D
1
.
E. None of the above
Answer: Option B
14. In which directory can you store system user default files used for creating user
directories?
A./usr/tmp
B./etc/default
C./etc/skel
D
/etc/users
.
E. None of the above
Answer: Option C
Explanation:
The /etc/skel directory contains files and directories that are automatically copied over
to a new user's home directory when such user is created.
15. How could you install the file [Link]?
[Link] -qip ipchains
[Link] -Uvh ipchains
[Link] -i ipchains* .[Link]
D
rpm -e [Link]
.
E. None of the above
Answer: Option C
16. What does FSF stand for?
A
Free Software File
.
[Link] Server First
[Link] Serve First
D
Free Software Foundation
.
E. None of the above
Answer: Option D
17. Which of the following is a valid format for mounting a CD-ROM drive?
A
mount -t iso9660 /dev/cdrom / mnt/cdrom
.
[Link] /dev/cdrom
[Link] /mnt/cdrom
D
All of the above
.
E. None of the above
Answer: Option D
18. What command do you use to create Linux file systems?
A
fdisk
.
[Link]
[Link]
D
mount
.
E. None of the above
Answer: Option B
19. Which of the following command can you execute to count the number of lines in a file?
A
lc
.
[Link] - l
[Link]
D
count
.
E. None of the above
Answer: Option B
20. Which of the following is not a communication command?
A
grep
.
[Link]
[Link]
D
write
.
E. None of the above
Answer: Option A
21. What command is used to display the characteristics of a process?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option B
22. What command is not used to list the files chap01, chap02 and chap04?
[Link] chap*
[Link] chap[124]
[Link] - x chap0[124]
[Link] chap0[124]
E. None of the above
Answer: Option B
23. What command is used with vi editor to replace text from cursor to right
A.S
B.s
C.R
D.r
E. None of the above
Answer: Option C
24. What sign is used to back up over typing errors in vi?
A.!
B.$
C.#
D.@
E. None of the above
Answer: Option C
25. What sign is used to erase or kill an entire line you have typed and start you are on a
new line (but not display a new prompt)?
A.!
B.$
C.#
D.@
E. None of the above
Answer: Option D
26. What command is used to sort the lines of data in a file in alphabetical order?
[Link] - r
[Link]
[Link]
[Link]
E. None of the above
D
Answer: Option D
27. What command is used with vi editor to save file and remain in the editing mode?
A.x
B.q!
C.:w
D.:q
E. None of the above
C
Answer: Option C
28. What command is used with vi editor to move back to the beginning of a word?
A.w
B.e
C.a
D.b
E. None of the above
D
Answer: Option D
29. What command is used with vi editor to search a pattern in the forward direction?
A.??
B.//
C.?
D./
E. None of the above
D
Answer: Option D
30. What command is used to add printing jobs to the queue?
[Link]
[Link]
[Link]
[Link]
E. None of the above
B
Answer: Option B
31. What protocol(s) is(are) allowed a user to retrieve her/his mail from the mail server to her/his
mail reader?
A.POP3
[Link]
[Link]
[Link] of the above
E. None of the above
Answer: Option A
32. What project is currently developing X server support?
A.XFree86 Project, Inc.
[Link] Labs
[Link] Project
[Link] of the above
E. None of the above
Answer: Option A
33. What X-based tool is available for configuring the X Window system?
[Link]
B.XF86Setup
C.xf86config
[Link] of the above
E. None of the above
Answer: Option B
34. Which of the following server is used with the BIND package?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option D
35. What port does squid listen, by default?
A.4322
B.2314
C.7334
D.3128
E. None of the above
Answer: Option D
36. Which of the following is the main Apache configuration file?
A./etc/[Link]
B./etc/httpd/[Link]
C./etc/httpd/conf/[Link]
D./etc/[Link]
E. None of the above
Answer: Option C
37. Which of the following command is used to access an SMB share on a Linux system?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option C
38. Which of the following command is used to see the services running in NFS server?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option A
39. In which tcp_wrappers file can you specify to allow all connections from all hosts?
A./etc/[Link]
B./etc/[Link]
C./etc/hosts
D./etc/[Link]
E. None of the above
Answer: Option A
40. What does GNU stand for?
[Link]'s not Unix
[Link] Needed Unix
[Link] Unix
[Link] Noble Unix
E. None of the above
Answer: Option A
41. What shell's wild-card is used to match any number of characters including none?
A.*
B.?
C.[!ijk]
D.[ijk]
E. None of the above
Answer: Option A
42. What command is used to list contents of directories?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option D
43. What command is used with vi editor to append text at end of line?
A.I
B.i
C.a
D.A
E. None of the above
Answer: Option D
44. What command is used to copy directory structures in and out?
[Link]
[Link] - p
[Link]
[Link]
E. None of the above
Answer: Option C
45. In OSI network architecture, the dialogue control and token management are responsible of
[Link] link layer
[Link] layer
[Link] layer
[Link] layer
E. None of the above
Answer: Option D
46. Layer one of the OSI model is
[Link] layer
[Link] layer
[Link] layer
[Link] layer
E. None of the above
Answer: Option D
47. What layer of OSI determines the interface of the system with the user?
[Link]
[Link]-link
[Link]
[Link]
E. None of the above
Answer: Option C
48. What command is used to remove jobs from the print queue?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option C
49. How can you navigate around virtual consoles?
[Link]+Function Key
[Link]+Function Key
[Link]+Alt+Del
[Link]+a+w+Function Key
E. None of the above
Answer: Option A
50. Which of the following NIS clients, finds and stores information about an NIS domain and server?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option B
1. What command is used to count the total number of lines, words, and characters contained in a
file?
[Link]
[Link]
[Link]
[Link] p
E. None of the above
Answer: Option C
2. What command is used to remove files?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option B
3. What command is used to remove the directory?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option D
4. What command is used with vi editor to delete a single character?
A.x
B.y
C.a
D.z
E. None of the above
Answer: Option A
5. What hardware architectures are not supported by Red Hat?
[Link]
[Link]-compatible
[Link]
[Link]
E. None of the above
Answer: Option D
1. What command is used to save the standard output in a file, as well as display it on the terminal?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option A
2. What command is used to count just the number of lines contained in a file?
[Link] - r
[Link] - w
[Link] - c
[Link] - l
E. None of the above
Answer: Option D
3. In OSI network architecture, the routing is performed by
[Link] layer
[Link] layer
[Link] link layer
[Link] layer
E. None of the above
Answer: Option D
4. The 32-bit internet address 10000000 00001010 00000010 00011110 will be written in dotted
decimal notation as
A.[Link]
B.[Link]
C.[Link]
D.[Link]
E. None of the above
Answer: Option A
5. Which class network is used for a collection of a small number of networks with a large number of
nodes?
[Link] A
[Link] B
[Link] C
[Link] of the above
E. None of the above
Answer: Option A
6. What type of addressing format is used by Class A network.
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option D
7. What types of installations require a special boot disk?
[Link]
[Link]
[Link]
[Link] of the above
E. None of the above
Answer: Option D
8. RPM
[Link] for Red Hat Package Manager
[Link] used to install, uninstall, and manage packages
[Link] used to keep track of the users
[Link] a dynamic IP address
E. None of the above
Answer: Option A
9. What command is used to query for a specific package with RPM?
[Link] -q
[Link] -a
[Link] -d
[Link] -1
E. None of the above
Answer: Option A
10. What script is run for setting bash global defaults for all users?
A./etc/.profile
B./etc/.bashrc
C./etc/.log
D./etc/profile
E. None of the above
Answer: Option D
11. Who founded the Linux Kernel?
[Link] Gates
[Link] Thomas
[Link] Stallman
[Link] Torvalds
E. None of the above
Answer: Option D
12. Which of the following is not a part of default Red Hat Linux email system?
[Link]
[Link] MTA
[Link] MUA
[Link]
E. None of the above
Answer: Option A
13. _____ tool allows you to change your default X Window desktop.
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option C
14. In what file can you specify which users are not allowed to access a system via FTP?
A./etc/ftpusers
B./etc/[Link]
C./etc/ftpaccess
[Link] of the above
E. None of the above
Answer: Option A
15. Which program is used to schedule particular jobs or programs at particular times on the
system?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option D
16. Which command can force all buffers to disk?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option B
17. How many extended partitions can exist on one drive?
A.16
B.4
C.2
D.1
E. None of the above
Answer: Option D
18. For you to create a swap partition by using fdisk, what must the partition's system ID type be?
A.83
B.82
C.5
D.4
E. None of the above
Answer: Option B
19. What file contains the list of port numbers (and associated names) monitored by inetd?
A./etc/services
B./etc/nsorder
C./etc/[Link]/
D./etc/hosts
E. None of the above
Answer: Option A
20. The location of some system configuration and system administrator executable files, is:
A./home
B./proc
C./var
D./sbin
E. None of the above
Answer: Option D
21. The location for subdirectories for local programs and executables for user and administrative
commands, is:
A./usr
B./tmp
C./opt
D./mnt
E. None of the above
Answer: Option A
22. Which of the following is not a filter command?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option D
23. What command is used to display a file contents in octal form?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option C
24. What command is used to assign executable permission to all of the files named "report"?
[Link] ugo + x report
[Link] u + x report
[Link] ugo + rw report
[Link] ugo + r report
E. None of the above
Answer: Option A
25. What command is used to change the working directory?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option D
26. What command is used to count the number of files in the current directory by using pipes?
[Link] | ws - c
[Link] | wc - w
[Link] | wc - l
[Link] | wc
E. None of the above
Answer: Option C
27. What command is used to count just the number of characters in a file?
[Link] - r
[Link] - w
[Link] - c
[Link] - 1
E. None of the above
Answer: Option C
28. How many class A, B and C network IDs can exist?
A.128
B.126
C.16,382
D.2,113,658
E. None of the above
Answer: Option D
29. LILO
[Link] for Linux loader
[Link] the Linux boot loader
[Link] a tool used to boot the Kernel on x86 hardware
[Link] of the above
E. None of the above
Answer: Option D
30. How can you rebuild the RPM file to include the new patches?
A.- - recompile
B.- - rebuild
C.- - generate
D.- - execute
E. None of the above
Answer: Option A
31. What command is used to set user and group quotas?
A./sbin/usrquota
B./sbin/edquota
C./sbin/quotaon
D./sbin/quota
E. None of the above
Answer: Option B
32. NIS
[Link] Network Information Service
is a simple directory service whose main purpose is to allow remote authentication of systems
B.
on local network systems
[Link] formerly known as yellow pages
[Link] configuration-such as password and group files
E. None of the above
Answer: Option A
33. In order to increase the amount of memory available for a system, what is the maximum size of a
swap partition (with kernel version 2.2.x)?
A.2GB
B.128MB
C.64MB
D.32MB
E. None of the above
Answer: Option A
34. Which file is used to configure which filesystems are mounted?
A./etc/[Link]
B./etc/filesys
C./etc/sysconfig
D./etc/fstab
E. None of the above
Answer: Option D
35. Who has developed the Linux?
[Link] Young
[Link] Eving
[Link] Stallman
[Link] Torvalds
E. None of the above
Answer: Option D
36. What does OSS stand for?
[Link] System Software
[Link] Source Software
[Link] Source Software
[Link] System Server
E. None of the above
Answer: Option C
37. Which of the following subdirectory(ies) contains the device files?
A./dev
B./bin
C./etc
D./home
E. None of the above
Answer: Option A
38. Which of the following subdirectory(ies) contains the system boot scripts.
A./dev
B./bin
C./etc
D./home
E. None of the above
Answer: Option C
39. What of the following tool is used to check and repair Linux file systems?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option C
40. Which of the following tool is used to partition your hard drive?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option B
41. Where can system and mail logs be found in Ret Hat Linux?
A./var/log
B./etc/log
C./mail
[Link] of the above
E. None of the above
Answer: Option A
42. What command is used to display and create files?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option D
43. Which of the following command can be used to rename a file in UNIX?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option B
44. What command is used to remove a file?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option C
45. What command is used to display the top of the file?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option C
46. What command can be used to get information about yourself?
[Link]
[Link]
C.i /4
[Link] am i
E. None of the above
Answer: Option D
47. What layer protocol is responsible for user and the application programme support such as
passwords, resource sharing, file transfer and network management?
[Link] 4 protocols
[Link] 5 protocols
[Link] 6 protocols
[Link] 7 protocols
E. None of the above
Answer: Option D
48. What package group will you select during the custom configuration to enable the machine to
communicate with Windows clients?
[Link] (Samba) Connectivity
[Link]/NetWare Connectivity
[Link]-up Workstation
[Link] of the above
E. None of the above
Answer: Option A
49. Which of the following tool allows you to change your default X Window desktop?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option A
50. Which of the following is the main Apache configuration file?
[Link]
[Link]
C./etc/profile
[Link]
E. None of the above
Answer: Option A
1. What command is used to sort the lines of data in a file in reverse order?
[Link] - r
[Link]
[Link]
[Link]
E. None of the above
Answer: Option A
2. What command is used to print a file?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option A
3. The command chmod 761 letter is equivalent to
[Link] 4=7, g = 6, o = 1 letter
[Link] a = 761 letter
[Link] u = rwx, g = rw, o = x letter
[Link] 167 letter
E. None of the above
Answer: Option C
4. What command is used with vi editor to move forward to the end of a word?
A.c
B.d
C.b
D.e
E. None of the above
Answer: Option D
5. The IP address are based on
A.16-bit addresses
B.32-bit addresses
C.64-bit addresses
D.8-bit addresses
E. None of the above
Answer: Option B
6. What TCP/IP protocol is used for file transfer with minimal capability and minimal overhead?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option B
7. What TCP/IP protocol is used for transferring electronic mail messages from one machine to
another?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option C
8. What command is used to halt a Linux system?
[Link] 0
[Link] -t
[Link] -g -y0
[Link]+Alt+Del
E. None of the above
Answer: Option A
9. Which daemon is used for the Apache server?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option B
10. GNOME is based on
[Link] toolkit
[Link]/DCOM toolkit
[Link] toolkit
[Link] DB toolkit
E. None of the above
Answer: Option A
11. What can he used to set up a firewall on a Linux system?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option D
12. Which program is used to automatically install Red Mat Linux on identical hardware?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option D
13. What service is not monitored by inetd ?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option A
14. Who founded the FSF?
[Link] Torvalds
[Link] Stallman
[Link] Young
[Link] of the above
E. None of the above
Answer: Option B
15. What shell's wild-card is used to match a single character?
A.[!ijk]
B.[ijk]
C.?
D.*
E. None of the above
Answer: Option C
16. What command is used to copy a file?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option C
17. What command is used to display your current working directory?
[Link]
[Link]
[Link] $p$g
[Link]
E. None of the above
Answer: Option B
18. What command is used with vi editor to move the cursor to the left?
A.h
B.k
C.j
D.i
E. None of the above
Answer: Option A
19. What command do you use to add routes to a Linux router?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option B
20. Which of the following command is used to mount NFS filesystems?
[Link]
[Link]
[Link]
[Link] of the above
E. None of the above
Answer: Option C
21. 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
E. None of the above
Answer: Option B
22. After you have compiled your kernel, what do you have to edit to boot your new kernel image?
A./boot/[Link]
B./etc/[Link]
C./etc/[Link]
D./etc/[Link]
E. None of the above
Answer: Option D
23. To create an installation boot floppy disk from Linux (or another Unix) machine, what command
could you use?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option C
24. You just added a new user, kara, to the system. What group is kara added to by default?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option B
25. What are the appropriate Hex codes for setting Linux swap and Linux native partition types in
fdisk?
A.82 and 83
B.92 and 93
C.63 and 64
D.82 and 85
E. None of the above
Answer: Option A
26. What command do you use to delete a file?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option C
27. Which of the following command lists the last 10 lines of a file?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option B
28. What command is used to terminate a process?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option A
29. What command is used with vi editor to delete three words?
A.3$d
B.3 dw
C.3 x
D.3 dd
E. None of the above
Answer: Option B
30. What command is used to assign only read permission to all three categories of the file'letter'?
[Link] u + r, g + r, o - x letter
[Link] ugo = r letter
[Link] a - rw letter
[Link] go + r letter
E. None of the above
Answer: Option B
31. 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?
[Link] go + x, u - x letter
[Link] g - x, uo + r letter
[Link] go + r, u + x letter
[Link] u - x, go + r letter
E. None of the above
Answer: Option D
32. What command is used to assign executable permission to the owner of the file named "letter"?
[Link] ugo + x letter
[Link] u + x letter
[Link] u + w letter
[Link] g + x letter
E. None of the above
Answer: Option B
33. What command is used to compare the files?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option C
34. What command is used to summarize the disk usage?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option B
35. What command is used to list the jobs currently in print queues?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option A
36. Which of the following format of partition tables does Linux use?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option D
37. Which of the following NIS clients returns the name of the NIS server used by the NIS client?
[Link]
[Link]
[Link]
[Link]
E. None of the above
Answer: Option A