1.
What is the default shell in Linux called?
Correct Answer
D. BASH
Explanation
BASH is the default shell in Linux. It stands for "Bourne Again SHell" and is an enhanced version of the original Bourne shell (SH). BASH includes additional features and improvements, making it a popular choice among Linux users. BSH, CSH, and SH are not the default shells in Linux.
2.
What equivalent to the man command generally provides an easier-to-read
description of the queried command and also contains links to other
related information?
Correct Answer
D. Info
Explanation
The correct answer is "info". The info command is an alternative to the man command that provides a more user-friendly and easier-to-read description of the queried command. It also includes links to other related information, making it a comprehensive source of documentation.
3.
What command can you use to safely shut down the
Linux system immediately?
Correct Answer
D. Halt
Explanation
The command "halt" can be used to safely shut down the Linux system immediately. This command is used to halt the system and power it off. It is a quick and immediate way to shut down the system without any delays or additional steps.
4.
What command is equivalent to the man
–k keyword command?
Correct Answer
C. Apropos keyword
Explanation
The "apropos" command is equivalent to the "man -k" command. It is used to search the manual pages for a specific keyword. Therefore, "apropos keyword" will provide the same result as "man -k keyword".
5.
The Red Hat Fedora installation can be performed
in which two of the following modes?
Correct Answer(s)
A. Text
D. GrapHical
Explanation
The Red Hat Fedora installation can be performed in two modes: text and graphical. In the text mode, the installation process is performed through a command-line interface, allowing the user to input commands and navigate through the installation steps using text-based menus. On the other hand, the graphical mode provides a user-friendly graphical interface, where the installation steps are displayed using icons, buttons, and graphical elements, making it easier for users who prefer a visual approach. Both modes offer different ways to install Red Hat Fedora based on the user's preference and familiarity with command-line or graphical interfaces.
6.
Linux commands entered via the command line are
not case sensitive. True or False?
Correct Answer
B. False
Explanation
Linux commands entered via the command line are case sensitive. This means that the commands must be typed in exactly as they are, with the correct capitalization, in order for them to be recognized and executed properly. For example, "ls" and "LS" would be treated as two different commands and may produce different results. Therefore, the statement that Linux commands are not case sensitive is incorrect.
7.
Which command blanks the terminal screen erasing
previously displayed output?
Correct Answer
D. Clear
Explanation
The command "clear" is used to blank the terminal screen and erase any previously displayed output. This command clears the entire screen and provides a clean slate for new input or output.
8.
When sitting at a computer running Linux, what
key combination is pressed to open the graphical terminal?
Correct Answer
C. Ctrl+Alt+F7
Explanation
Ctrl+Alt+F7 is the correct key combination to open the graphical terminal when sitting at a computer running Linux. This combination allows the user to switch to the seventh virtual console, which is typically where the graphical terminal is located. The other options listed do not correspond to the correct key combination for opening the graphical terminal.
9.
After a user logs in to a terminal, he receives a
user interface called a __________.
Correct Answer
B. Shell
Explanation
After a user logs in to a terminal, they receive a user interface called a shell. A shell is a command-line interface that allows the user to interact with the operating system by typing commands. It provides a way for the user to execute various commands and programs, navigate through directories, and manage files and processes. The shell acts as an intermediary between the user and the operating system, interpreting the commands entered by the user and executing them accordingly.
10.
Users enter commands directly to the kernel of
the Linux operating system. True or False?
Correct Answer
B. False
Explanation
False. Users do not directly enter commands to the kernel of the Linux operating system. Instead, users interact with the kernel through a shell or command-line interface, which acts as an intermediary between the user and the kernel. The kernel is responsible for managing system resources and providing services to the user and applications running on the system.
11.
How can you protect a metacharacter (such as the
$ character) from shell interpretation?
Correct Answer
E. Precede it with a \.
Explanation
To protect a metacharacter, such as the $ character, from shell interpretation, you can precede it with a \. This will escape the metacharacter and prevent it from being interpreted as a special character by the shell.
12.
You know a Linux command will perform a desired
function for you, but you cannot remember the full name of the command.
You do remember it will flush a variable from your system. Which command
typed at a command prompt displays a list of commands that would likely
contain the command you desire?
Correct Answer
A. Man –k flush
Explanation
The "man -k flush" command is used to search for a keyword in the manual pages of Linux commands. By typing this command at the command prompt, it will display a list of commands that likely contain the keyword "flush". This allows the user to find the desired command even if they cannot remember its full name.
13.
Which command displays the users who are
currently logged in to the Linux system?
Correct Answer
B. Who
Explanation
The "who" command is used to display the users who are currently logged in to the Linux system. It provides information such as the username, terminal, login time, and the IP address of the user. This command is useful for system administrators to monitor user activity and manage resources effectively.
14.
Which of the following packages can be used to
standardize configuration files across Linux systems?
Correct Answer
C. NIS
Explanation
NIS (Network Information Service) is a package that can be used to standardize configuration files across Linux systems. NIS allows for centralized administration of configuration files, making it easier to manage and maintain consistency across multiple systems. It provides a mechanism for distributing configuration files to client systems, ensuring that they all have the same settings. This helps to streamline the configuration process and ensure that all systems are properly configured.
15.
Which prompt does the root user receive when
logged in to the system?
Correct Answer
C. #
Explanation
The root user receives the "#" prompt when logged into the system. The "#" symbol is commonly used to indicate that the user has administrative privileges and can execute commands with elevated permissions. This prompt is different from the regular "$" or "@" prompts that non-root users typically see, indicating that the root user has more control and access to the system.
16.
Which prompt do regular users receive when logged
in to the system?
Correct Answer
A. $
Explanation
Regular users receive the prompt symbol "$" when logged in to the system. The prompt symbol is a visual indicator that the system is ready to receive commands or input from the user.
17.
Which installation screen only appears if certain
hardware is detected by the installation program?
Correct Answer
B. Network configuration
Explanation
The network configuration screen only appears if certain hardware is detected by the installation program. This is because the network configuration is specific to the hardware and requires the installation program to identify and configure the network settings accordingly.
18.
Which two partitions do you typically create at
minimum during a Red Hat Fedora Linux installation?
Correct Answer(s)
A. /
C. Swap
Explanation
During a Red Hat Fedora Linux installation, it is typically recommended to create two partitions at a minimum. The first partition is "/", which is the root partition and contains the core system files and directories. The second partition is "swap", which is used as virtual memory to support the system when the RAM is full. These two partitions are essential for the proper functioning of the Linux operating system.
19.
If you are planning to install 2.3Gb of packages
when installing your Linux server, how much free space should you have on
your hard disk to create the necessary filesystems?
Correct Answer
D. 4.6 Gb
Explanation
To install 2.3Gb of packages, you should have at least double the amount of free space on your hard disk. This is because the installation process requires space to extract and install the packages, as well as temporary files and system resources. Therefore, the correct answer is 4.6 Gb, which allows for the necessary filesystems to be created and the packages to be installed without running out of space.
20.
Which boot loader is available to choose from
during the installation of Red Hat Fedora?
Correct Answer
C. GRUB
Explanation
During the installation of Red Hat Fedora, the available boot loader to choose from is GRUB. GRUB (Grand Unified Bootloader) is a widely used boot loader in Linux systems. It allows users to select and boot different operating systems installed on the computer. GRUB offers flexibility and customization options, making it a popular choice for managing the boot process.