Introduction to CentOS Flashcards
is a rolling-release Linux distribution that provides a “preview” of what will be in the next RHEL minor release.
CentOS Stream
With ____ , users gain access to newer features and packages as they’re prepared for RHEL 9.
CentOS 9
Key Use Cases (3):
(idk if kasama pa)
- Development & Testing
- Production -Ready for Certain Environments
- Cloud and Containers
is a text-based interface that allows users to execute commands for managing files, processes, and system settings.
Command Line
CentOS 9 uses the ____ by default, although other shells like Zsh can be installed.
Bash Shell
CentOS 9 uses ____ as its primary package manager, replacing the older yum.
dnf
The ____ command is used to install, update, and manage software packages.
dnf
command for update
sudo dnf update
List of Package Management with DNF Commands
(11!!!)
- dnf
- sudo dnf update
- sudo dnf install < package_name >
- sudo dnf remove < package_name >
- sudo dnf search < keyword >
- sudo dnf list installed
- sudo systemctl start < service_name >
- sudo systemctl stop < service_name >
- sudo systemctl restart < service_name >
- sudo systemctl enable < service_name >
- sudo systemctl status < service_name >
- sudo systemctl list-units –type=service
The ____ command in Linux lists directory contents, displaying files and subdirectories.
ls (list)
a command-line utility that allows users to create new directories.
mkdir < directory_name >
used to change directories. You can navigate to a specific directory by specifying its path.
cd < directory_name >
This command is used to copy files or group of files or directories.
cp < source >< destination >
short for “remove”. is used for deleting files and directories.
rm < filename >
deletes files. It does not work on directories unless combined with specific options.
source: chatGPT
it is used for deleting files and directories
rm -r < directory name >
Used to delete directories and their contents, including files and subdirectories.
source: chatGPT
____ are key tasks in system administration
Network configuration and troubleshooting
Networking Commands:
will display the address configuration for all interfaces on the Linux workstation.
ip addr show
Networking Commands
tests the connection between the local machine and a remote address or machine
ping < hostname ____or____ IP >