RHCSA EX200 Cheat Sheet for RHEL 10: Commands and Quick Reference
A printable RHCSA EX200 command cheat sheet for RHEL 10 covering users, permissions, LVM, networking, systemd, SELinux, containers and troubleshooting.
Table of Contents
- Introduction
- User and Group Management
- File Permissions and Ownership
- Networking and Firewall
- Storage and Mounting
- Boot Process and Systemd
- Package Management (YUM/DNF)
- SELinux and Security
- Cron Jobs and Scheduling
- Conclusion
Introduction
The RHCSA EX200 exam is a hands-on, performance-based test that validates your Linux administration skills. This cheat sheet provides quick-access commands and core topics aligned with the Red Hat Certified System Administrator (RHCSA) objectives.
User and Group Management
useradd username– Add new userpasswd username– Set user passwordusermod -aG groupname username– Add user to a groupgroupadd groupname– Create new groupid username– Show user's UID, GID, and groupschage -l username– List password aging info
File Permissions and Ownership
chmod u+x file– Add execute to ownerchown user:group file– Change ownershipumask– Show default permission maskgetfacl /path– View ACLssetfacl -m u:username:rwx /file– Modify ACL
Networking and Firewall
nmcli dev status– Check network devicesnmcli con up "connection-name"– Start connectionip addr– Show IP addressesfirewall-cmd --add-service=http --permanent– Open firewall portfirewall-cmd --reload– Reload firewallss -tuln– List listening ports
Storage and Mounting
lsblk– List block devicesfdisk /dev/sdX– Partition diskmkfs.xfs /dev/sdX1– Format partitionmount /dev/sdX1 /mnt– Mount partitiondf -h– Show mounted disksvim /etc/fstab– Add persistent mount
Boot Process and Systemd
systemctl status service– Show service statussystemctl enable service– Enable service at bootjournalctl -xe– View system logsgrubby --default-kernel– View default boot kerneldracut -f– Rebuild initramfs
Package Management (YUM/DNF)
dnf install package– Install packagednf remove package– Remove packagednf update– Update systemdnf groupinstall "Server with GUI"– Install package grouprpm -q package– Check if package is installed
SELinux and Security
getenforce– Show SELinux statussetenforce 0– Set SELinux to permissivesestatus– Show SELinux modesemanage port -l– List SELinux port contextsrestorecon -Rv /path– Restore SELinux contexts
Cron Jobs and Scheduling
crontab -e– Edit user cronsystemctl list-timers– View timersat now + 1 minute– Schedule one-time jobsystemctl start/stop timer– Manage systemd timers
Conclusion
This RHCSA cheat sheet is tailored for quick revision before your EX200 exam. While memorizing commands is helpful, practicing them in a real Linux environment like a home lab or training platform is critical. Combine this cheat sheet with hands-on tasks and you’ll be ready to ace the RHCSA certification in your first attempt.
FAQ's
What's Your Reaction?
Like
0
Dislike
0
Love
0
Funny
0
Wow
0
Sad
0
Angry
0