In one minute
- A guide to the two most respected Linux certifications: RHCSA (Red Hat Certified System Administrator) and LFCS (Linux Foundation Certified System Administrator).
- Certifications prove your Linux skills to employers, and many DevOps job adverts list RHCSA as a plus. Studying for them also drills exactly the tasks you need on call.
- Both exams are fully hands-on. There are no multiple-choice questions. You get real systems and a list of tasks to configure or fix, against the clock. Your system is rebooted before it is graded, so every change must survive a reboot.
- 👉 After finishing this course, as a goal to prove and sharpen your skills.
Think of it like: a driving test, not a written quiz. Nobody asks you what a mirror is. They watch you actually drive.
The two exams at a glance
| RHCSA (EX200) | LFCS | |
|---|---|---|
| Run by | Red Hat | Linux Foundation |
| Linux used | RHEL | Ubuntu |
| Format | Hands-on, live systems | Hands-on, live systems |
| Length | About 3 hours | About 2 hours |
| Valid for | 3 years | 2 years |
| Next step | RHCE (Ansible automation) | Pairs well with Kubernetes (CKA) |
Check the official pages for the current price, length and topic list before you book. They change over time.
Where each exam topic is in this course
| Exam area | Course lessons |
|---|---|
| Basic tools, files, redirection, grep, archives | 2, 3, 4, 12 |
| Editing files | 5 |
| Users, groups, permissions, sudo | 6 |
| Software packages and repositories | 7 |
| Processes, priorities, signals | 8 |
| systemd services, boot targets, logs | 9, 19, 21 |
| Storage: partitions, LVM, filesystems, fstab, swap | 10 |
| Networking: IP, hostname, DNS, firewall | 13–17 |
| SSH and secure access | 16 |
| SELinux | 20 |
| Scheduling: cron and timers | 9, Bash course |
| Containers with Podman (RHCSA) | Docker course |
Tasks that come up again and again
Practise each of these until you can do it without notes.
Getting back into root when the password is lost (RHCSA classic)
👉 You do not know the root password and must reset it.
1. Reboot, press e at the GRUB menu2. Append rd.break to the linux line, press Ctrl+X3. mount -o remount,rw /sysroot4. chroot /sysroot5. passwd root6. touch /.autorelabel # essential on SELinux systems7. exit, exitIn plain words: stop the boot early, make the disk writable, step into the real system, set a new password, and tell SELinux to fix its labels on the next boot.
Do not forget /.autorelabel. Without it, SELinux labels are wrong and you cannot log in after the reboot.
LVM: create and grow a volume
👉 "Create a 2 GB volume and mount it at /app, so it survives a reboot."
sudo pvcreate /dev/vdbsudo vgcreate vgdata /dev/vdbsudo lvcreate -n lvapp -L 2G vgdatasudo mkfs.xfs /dev/vgdata/lvappsudo mkdir /appecho "/dev/vgdata/lvapp /app xfs defaults 0 0" | sudo tee -a /etc/fstabsudo mount -asudo lvextend -r -L +1G /dev/vgdata/lvapp # extend later, filesystem includedDisk → pool → volume → filesystem → folder → fstab → test.
Swap
Swap is disk space used as overflow memory.
sudo lvcreate -n lvswap -L 1G vgdatasudo mkswap /dev/vgdata/lvswapecho "/dev/vgdata/lvswap none swap defaults 0 0" | sudo tee -a /etc/fstabsudo swapon -aswapon --showUsers, groups and shared folders
👉 "Make a folder that everyone in the devs team can share."
sudo groupadd devssudo useradd -G devs -s /bin/bash alicesudo mkdir /shared && sudo chgrp devs /sharedsudo chmod 2770 /shared # setgid: new files belong to the devs groupsudo chage -M 90 alice # password expires every 90 daysThe 2 in 2770 is setgid: every new file in the folder automatically belongs to the devs group, so the whole team can use it.
Networking with nmcli (RHEL)
👉 "Give this server a fixed IP address and a hostname."
nmcli con showsudo nmcli con mod "System eth0" ipv4.addresses 192.168.1.50/24 ipv4.gateway 192.168.1.1 ipv4.dns 192.168.1.1 ipv4.method manualsudo nmcli con up "System eth0"sudo hostnamectl set-hostname server1.example.comFirewall and SELinux together
👉 "Serve a website on port 82."
sudo firewall-cmd --add-port=82/tcp --permanent && sudo firewall-cmd --reloadsudo semanage port -a -t http_port_t -p tcp 82 # allow httpd on a non-standard portsudo restorecon -Rv /var/www/htmlgetenforce # must stay EnforcingA web server on an unusual port needs two things: a firewall rule and an SELinux port label. This pair appears on exams all the time.
Remember it: Unusual port = open the firewall + tell SELinux. Two locks, two keys.
Scheduling with cron
👉 "Run this script at 02:30, Monday to Friday."
crontab -e -u alice# 30 2 * * 1-5 /usr/local/bin/backup.sh (02:30, Monday to Friday)systemctl list-timers| Cron field | Range |
|---|---|
| Minute | 0–59 |
| Hour | 0–23 |
| Day of month | 1–31 |
| Month | 1–12 |
| Day of week | 0–7 (0 and 7 are both Sunday) |
Remember it: The five fields read "Minute Hour Day Month Weekday": "My House Does Make Waffles".
Containers with Podman (RHCSA)
Podman is Red Hat's tool for running containers, very similar to Docker.
podman pull registry.access.redhat.com/ubi9/ubipodman run -d --name web -p 8080:80 -v /srv/web:/var/www/html:Z registry/httpdpodman generate systemd --name web --files --new # or Quadlet files on newer RHELsystemctl --user enable --now container-web.serviceloginctl enable-linger alice # keep user services running after logout:Zon the volume relabels the folder for SELinux. Forgetting it is another common stumble.enable-lingerkeeps the user's container running after they log out.
Exam technique
- Read every task fully before you start. Some depend on earlier ones.
- Make everything permanent. The system is rebooted before grading. Anything set with a temporary command (
mount,sysctl -w, firewall without--permanent) scores zero. - Reboot it yourself before time runs out, to check everything survives.
- Use
manand--help. They are allowed (the internet is not).man 5 fstabandman 5 crontabshow file formats.grep -r EXAMPLE /usr/share/docfinds samples. - Do not get stuck. Skip a hard task, finish the easy ones, then come back.
- Never turn off SELinux to get past a problem. Tasks will fail grading.
An 8-week study plan
| Week | Focus |
|---|---|
| 1 | Moving around, files, redirection, grep, find, archives (lessons 2–4, 12) |
| 2 | Users, permissions, sudo, ACLs (lesson 6) |
| 3 | Packages, processes, systemd, logs (lessons 7–9, 19) |
| 4 | Storage: partitions, LVM, filesystems, swap, fstab (lesson 10) |
| 5 | Networking, SSH, firewalls (lessons 13–17) |
| 6 | SELinux, boot, root password reset, scheduling (lessons 20, 21) |
| 7 | Containers with Podman; full timed practice exams |
| 8 | Weak spots; two more timed practice exams, with reboot checks |
Practise on virtual machines on your own computer (VirtualBox, UTM on Apple silicon, or the free Red Hat Developer subscription for RHEL), where you can break and rebuild things freely. The live labs on this site cover the Linux basics with automatic checking.
Why it is worth it
Beyond the certificate, preparing forces you to master the tasks you need on call: getting back into a locked system, fixing storage, making changes permanent, and working with SELinux instead of against it. RHCSA is also a common stepping stone to RHCE (Ansible) and the Kubernetes CKA.
Common mistakes
- Temporary changes that disappear at the grading reboot.
- Typos in
/etc/fstabthat stop the system booting. Always runmount -aafter editing it. - Forgetting
/.autorelabelafter resetting the root password. - Only reading, never practising. These exams reward muscle memory.
Practice
- Without notes, write the steps to reset a forgotten root password on RHEL.
- Create a 1 GB logical volume, format it as xfs, and mount it permanently at
/data. - Set up Apache to serve on port 82, with SELinux enforcing and the firewall open.
- Schedule a script to run at 23:15 every Sunday.
Cheat sheet
| Task | Command |
|---|---|
| Grow a volume and its filesystem | lvextend -r -L +1G /dev/vg/lv |
| Test fstab | mount -a |
| Permanent firewall rule | firewall-cmd --add-port=82/tcp --permanent; firewall-cmd --reload |
| SELinux port label | semanage port -a -t http_port_t -p tcp 82 |
| Fix SELinux file labels | restorecon -Rv path |
| Fixed IP on RHEL | nmcli con mod ... then nmcli con up |
| Container as a service | podman generate systemd --new --files |
Key takeaways
- RHCSA and LFCS are hands-on exams: you fix real systems, there are no multiple-choice questions.
- Every change must survive a reboot, because the system is rebooted before grading.
- Practise the common tasks (root reset, LVM, users, firewall plus SELinux, cron) until they are automatic.
manpages are allowed in the exam. Use them.- Never turn off SELinux. Work with it.