Professional Documents
Culture Documents
Prelim Quiz 1
Prelim Quiz 2
Midterm Quiz 1
Midterm Quiz 2
Final Quiz 1
Final Quiz 2
Linux is also known as "Linux kernel".
Answer: True
All Linux installations use GNU components as a part of their operating system.
Answer: False
As an operating system, Linux is a hardware that sits underneath all of the other hardware on a
computer, receiving requests from those programs and relaying these requests to the
computer’s software.
Answer: False
Linux has a(ANSWER), and other types of software you are accustomed to using on other
operating systems.
Answer: graphical interface
This means that Linux is incredibly(ANSWER), because not just applications, such as word
processors and web browsers, can be swapped out.
Answer: customizable
Linux is similar to other(ANSWER)you may have used before, such as Windows, OS X, or iOS.
Answer: operating systems
The /lib/modules//kernel directory, has many of the same sub-directories present in the kernel
source tree.
Answer: True
A copy made in an otherwise Transparent file format whose markup, or absence of markup, has
been arranged to thwart or discourage subsequent modification by readers is Transparent.
Answer: False
_______________ formats include proprietary formats that can be read and edited only by
proprietary word processors, SGML or XML.
Answer: opaque
This tool can be used to selectively insert or remove modules and their dependencies.
Answer: modprobe
The kernel cannot automatically insert modules using the kmod module.
Answer: False
The -p option can strip any number of directories the patch is expecting to find.
Answer: True
The patch tool has several mechanisms to reverse the effect of a patch.
Answer: True
The patch tool has a -R switch which can be used to reverse all the operations in a patch file.
Answer: True
The operating system tracks processes through a five-digit ID number known as the pid or the
process ID. Each process in the system has a duplicate pid.
Answer: False
Whenever you issue a command in Unix/Linux, it creates, or starts, a new process. When you
tried out the ls command to list the directory contents, you started a process. A process, in
simple terms, is an instance of a running program.
Answer: True
The finger command displays information about users on a given host. The host can be either
local or remote.
Answer: True
The pr command does minor formatting of files on the terminal screen or for a printer.
Answer: True
A variable is a character string to which we assign a value. The value assigned could be a 1.
(ANSWER), 2.(ANSWER), 3.(ANSWER), 4(ANSWER),or any 5.(ANSWER)
Answer:
1. Number
2.text
3.filename
4.device
5.other type of data
Here, ftp stands for File Transfer Process. This utility helps you upload and download your file
from one computer to another computer.
Answer: False
Editing Files
Note that the environment variables are set with using the $ sign but while accessing them we
use the $ sign as prefix. These variables retain their values until we come out of the shell.
Answer: False
Creates a new file if it already does not exist, otherwise opens an existing file.
Answer: vi filename
The shell performs substitution when it encounters an expression that contains one or more
special characters.
Answer: True
This provides you with an interface to the Unix system. It gathers input from you and executes
programs based on that input. When a program finishes executing, it displays that program's
output.
Answer: SHELL
Command substitution enables the shell programmer to manipulate the value of a variable
based on its state.
Answer: False
The output from a command normally intended for standard input can be easily diverted to a file
instead. This capability is known as output redirection.
Answer: False
A scalar variable is capable enough to hold a single value. These variables are called shell
variables.
Answer: False
If you execute an exit command from inside a function, its effect is not only to terminate
execution of the function but also of the shell program that called the function.
Answer: True
Variable Names
The name of a variable can contain only letters (a to z or A to Z), numbers ( 0 to 9) or the
underscore character ( _).
Shell Prompt - What is the prompt symbol, which is called the command prompt, which is issued
by the shell? While the prompt is displayed, you can type a command.
Answer: $
Unix Shell provides various metacharacters which have special meaning while using them in
any Shell Script and causes termination of a word unless quoted.
Answer: True
A loop that executes forever without terminating executes for an infinite number of times.
Answer: The infinite Loop
These operators do not work for string values unless their value is numeric.
Answer: Relational Operators