Red Hat & Linux Labs

RHEL 10 and other Linux practicals — users, permissions, networking, Apache, SELinux, LVM, services and scripting.

Free to practise: Red Hat Enterprise Linux 10 is the current major version (10.1 released in November 2025) and is free for individual learners through the Red Hat Developer subscription. Most commands also work on Rocky Linux, AlmaLinux and Fedora; Ubuntu uses apt instead of dnf.
PromptSetu is not affiliated with or endorsed by Cisco, Microsoft, Amazon, Red Hat, CompTIA or Docker. These labs are practice prompts, not official training, and they do not guarantee an exam pass.

Versions checked on 22 November 2026.

Lab setup

What you need

  • RHEL 10 ISO with a free Red Hat Developer account
  • VirtualBox or VMware with 2 GB RAM and 20 GB disk
  • A second virtual disk for the storage (LVM) lab

How to use these prompts

  • Pick a practical below and press Copy or Run with AI
  • Fill in the [brackets] with your lab details
  • Follow the steps in your own VM or simulator
  • Paste any error back to the AI and ask for the fix
Practicals

8 step-by-step lab prompts

IT Labs & CertificationsLinuxPractical

RHEL 10: install and register

I am a student installing Red Hat Enterprise Linux 10 in a VM using the free Red Hat Developer subscription. Guide me through the installation choices, creating a user with admin rights, registering the system, and updating packages. Act as my lab instructor. Give numbered steps, the exact commands or clicks for each step, how to verify that each step worked, and the 3 most common errors with their fixes. Explain each concept in one simple line before the steps. Ask me if anything is unclear.
IT Labs & CertificationsLinuxPractical

Linux: users, groups and permissions

Help me practise Linux users and permissions on [RHEL 10/Ubuntu]: create users and groups, set passwords, add a user to sudo/wheel, and use chmod, chown and umask on a shared project folder. Act as my lab instructor. Give numbered steps, the exact commands or clicks for each step, how to verify that each step worked, and the 3 most common errors with their fixes. Explain each concept in one simple line before the steps. Ask me if anything is unclear.
IT Labs & CertificationsLinuxPractical

Linux: networking with nmcli

Help me configure a static IP, gateway and DNS on [RHEL 10] using nmcli, set the hostname, and verify with ip a, ip route and ping. Act as my lab instructor. Give numbered steps, the exact commands or clicks for each step, how to verify that each step worked, and the 3 most common errors with their fixes. Explain each concept in one simple line before the steps. Ask me if anything is unclear.
IT Labs & CertificationsLinuxPractical

Linux: Apache web server with firewall and SELinux

Help me install the Apache (httpd) web server on RHEL 10, enable it with systemd, open the firewall with firewall-cmd, keep SELinux in enforcing mode with the right context, and test the site. Act as my lab instructor. Give numbered steps, the exact commands or clicks for each step, how to verify that each step worked, and the 3 most common errors with their fixes. Explain each concept in one simple line before the steps. Ask me if anything is unclear.
IT Labs & CertificationsLinuxPractical

Linux: storage, partitions and LVM

Help me add a new virtual disk to my RHEL VM, create a partition, an LVM volume group and logical volume, format it as XFS, mount it permanently with /etc/fstab, and then extend it. Act as my lab instructor. Give numbered steps, the exact commands or clicks for each step, how to verify that each step worked, and the 3 most common errors with their fixes. Explain each concept in one simple line before the steps. Ask me if anything is unclear.
IT Labs & CertificationsLinuxPractical

Linux: services, logs and troubleshooting

Teach me systemctl and journalctl on RHEL 10: start, stop, enable and check a service, read its logs, and troubleshoot a service that fails to start. Create one broken-service exercise for me to fix.
IT Labs & CertificationsLinuxPractical

Linux: shell scripting basics

Help me write and explain 3 beginner Bash scripts on Linux: a system-information report, a backup script for [a folder] with the date in the file name, and a script that checks disk usage and warns above [80]%. Then show me how to schedule one with cron.
IT Labs & CertificationsLinuxPractical

Linux: RHCSA-style practice task

Give me one RHCSA-style practice task at a time on RHEL 10 (users, permissions, services, storage, networking, SELinux). Wait for my answer, check it, then give me the next task. Track my score out of 10.
Cheat sheet

Most-used commands

Replace example names, IDs and IP addresses with your own.

Terminal commands (RHEL 10)What it doesCopy
hostnamectl set-hostname server1.lab.localSet the hostname
nmcli con showList network connections
nmcli con mod ens160 ipv4.addresses 192.168.10.20/24 ipv4.gateway 192.168.10.1 ipv4.dns 8.8.8.8 ipv4.method manualSet a static IP
nmcli con up ens160Apply the network change
ip aShow IP addresses
sudo subscription-manager registerRegister RHEL
sudo dnf update -yUpdate all packages
sudo dnf install -y httpdInstall Apache
sudo systemctl enable --now httpdStart and enable a service
systemctl status httpdCheck a service
journalctl -u httpd --since todayRead a service's logs
sudo firewall-cmd --permanent --add-service=http && sudo firewall-cmd --reloadOpen HTTP in the firewall
getenforceCheck the SELinux mode
sudo restorecon -Rv /var/www/htmlFix SELinux file labels
sudo useradd -m student1 && sudo passwd student1Create a user
sudo usermod -aG wheel student1Give a user sudo rights
chmod 750 project/Set folder permissions
sudo chown student1:devs project/Change owner and group
lsblkList disks and partitions
sudo pvcreate /dev/sdb && sudo vgcreate vgdata /dev/sdbCreate LVM physical volume and volume group
sudo lvcreate -L 2G -n lvdata vgdata && sudo mkfs.xfs /dev/vgdata/lvdataCreate and format a logical volume
df -hShow disk usage
ss -tulpnShow listening ports
crontab -eSchedule a script
FAQ

Questions

Can I run these prompts in ChatGPT, Gemini or Claude?

Yes. Copy any prompt, fill in the [brackets] and paste it into your favourite AI, or press Run with AI to use it here (5 AI runs a day on the free plan).

Is the AI always right about commands?

No. AI can make mistakes. Always check commands against the official documentation, and practise only in your own lab or VM.

Do I need to pay for software?

No for most labs. The free options are listed under Lab setup. Cloud labs need a free account; always delete resources after a lab.