Red Hat Principles Flashcards
What is Red Hat Linux?
A Linux distribution developed by Red Hat, known for its enterprise-level features.
True or False: Red Hat Linux is an open-source operating system.
True
What package management system does Red Hat Linux use?
RPM (Red Hat Package Manager)
Fill in the blank: The primary configuration file for network settings in Red Hat Linux is ______.
/etc/sysconfig/network-scripts/ifcfg-<interface></interface>
What is the purpose of SELinux in Red Hat Linux?
To provide an additional layer of security through mandatory access controls.
Which command is used to update packages in Red Hat Linux?
yum update
What does RHEL stand for?
Red Hat Enterprise Linux
True or False: Red Hat Linux supports both graphical and command-line interfaces.
True
What is the default file system used in Red Hat Linux?
XFS
What command is used to check the system’s current kernel version?
uname -r
Fill in the blank: The Red Hat subscription model provides access to ______.
support, updates, and additional software repositories.
What is the role of the ‘systemd’ in Red Hat Linux?
To manage system services and the boot process.
Which command is used to start, stop, or restart services in Red Hat Linux?
systemctl
True or False: The command ‘chmod’ is used to change file permissions.
True
What does the ‘chown’ command do?
Changes the ownership of a file or directory.
What is the purpose of the ‘/etc/passwd’ file?
To store user account information.
Fill in the blank: The command ‘ls -l’ provides a ______ listing of directory contents.
detailed
What is the function of the ‘firewalld’ service in Red Hat Linux?
To manage firewall rules dynamically.
What command is used to view active network connections?
netstat
True or False: Red Hat Linux can be run on both physical and virtual machines.
True
What is the purpose of the ‘/etc/fstab’ file?
To define how disk partitions and other file systems are mounted.
What command is used to create a new directory?
mkdir
Fill in the blank: The main log file for system messages is located in ______.
/var/log/messages
Which command shows disk usage for files and directories?
du
What does the acronym LVM stand for?
Logical Volume Manager
True or False: The ‘grep’ command is used for searching text in files.
True
What is the purpose of the ‘yum’ command?
To manage packages and dependencies in Red Hat Linux.
Fill in the blank: The command ‘ps aux’ lists ______.
all running processes on the system.
What is the primary use of the ‘scp’ command?
To securely copy files between hosts over SSH.
What is the difference between ‘hard link’ and ‘soft link’?
Hard links point to the same inode, while soft links (symbolic links) point to the filename.
True or False: Red Hat Linux uses the Btrfs file system by default.
False
What is the purpose of the ‘cron’ daemon?
To schedule periodic tasks.
Fill in the blank: The ‘df’ command is used to report file system ______.
disk space usage
What is an RPM package?
A software package format used by Red Hat for installing applications.
True or False: The ‘/root’ directory is the home directory for the root user.
True
What command is used to view the contents of a file?
cat
What does the command ‘kill’ do?
Terminates a running process.
Fill in the blank: The ‘tar’ command is commonly used for ______.
compressing and archiving files.
What is the purpose of the ‘sudo’ command?
To execute commands with elevated privileges.
What does the term ‘kernel’ refer to?
The core component of the operating system that manages system resources.
True or False: Red Hat Linux supports containerization through technologies like Docker.
True
What is the function of the ‘init’ system?
To initialize the system and manage system processes.
Fill in the blank: The ‘hostname’ command is used to display or set the system’s ______.
hostname
What is the significance of the ‘/etc/hosts’ file?
It maps hostnames to IP addresses.
What command is used to change the current working directory?
cd
What does the ‘ping’ command do?
Tests network connectivity to another host.
True or False: The ‘whoami’ command displays the current user’s username.
True
What does the acronym SSH stand for?
Secure Shell
What is the purpose of the ‘mount’ command?
To attach a file system to the system’s directory tree.
Fill in the blank: The ‘echo’ command is used to display ______.
text or variables in the terminal.
What does the command ‘ifconfig’ do?
Displays network interface configuration.
What is the primary function of the ‘rsync’ command?
To synchronize files and directories between locations.
True or False: The ‘history’ command shows a list of previously executed commands.
True