diff --git a/src/rhcsa.md b/src/rhcsa.md index f5e2582..d56e880 100644 --- a/src/rhcsa.md +++ b/src/rhcsa.md @@ -676,4 +676,17 @@ sudo rpm -e httpd # Remove the httpd package rpm2cpio httpd-2.4.37-1.el8.x86_64.rpm | cpio -tv # Display the contents of the httpd package rpm2cpio httpd-2.4.37-1.el8.x86_64.rpm | cpio -idmv # Extract the contents of the httpd package -``` \ No newline at end of file +``` + +### dnf +```bash +sudo dnf install httpd # Install the httpd package + +sudo dnf remove httpd # Remove the httpd package + +sudo dnf list # List all packages + +sudo dnf search httpd # Search for the httpd package +sudo dnf info httpd # Display information about the httpd package +``` +