๐Ÿ“„ SUNDAY REVISION SERIES

RHCSA Documents

Every Sunday, I revise one RHCSA module and post it on LinkedIn โ€” written entirely from my own handwritten notes. This is not just revision โ€” it is my commitment to consistency and growth.

15

Documents

Every

Sunday

RHCSA

Topic

$ ls -la drwxr-xr-x root $ pwd /home/varad $ whoami varad $ mkdir chmod grep cat Basic of Linux Commands ยท Filesystem ยท Terminal
View on LinkedIn โ†’
01

Basic Of Linux

RHCSA 1st module which holds basic commands and linux information.

RHCSA
file.txt r w x $ ls -l -rwxr-xr-x varad drwxr-xr-- root lrwxrwxrwx link -rw-r--r-- file Soft Link Hard Link FILE Editing Permissions ยท Links ยท ls -l
View on LinkedIn โ†’
02

FILE Editing

๐Ÿ“ file types & permissions ๐Ÿ‘ฅ owner, group & others ๐Ÿ“œ ls -l for details ๐Ÿ”— soft vs hard links ๐Ÿ› ๏ธ permission commands.

EDIT
DEFAULT DIRECTORIES /etc Configuration files for the system /var Variable data like logs, cache, spool /bin Essential user command binaries /sbin System binaries for administration /dev Device files and special files $ ls / etc var bin sbin dev Default Directories /etc ยท /var ยท /bin ยท /sbin ยท /dev
View on LinkedIn โ†’
03

Default files in linux

๐Ÿ“‚ Linux directories meaning & purpose ๐Ÿง  real system usage โš™๏ธ admin importance ๐Ÿ’ป turning commands into confidence.

Default directories.
UID: 0 ROOT UID:1-999 SYSTEM UID:1000+ NORMAL useradd usermod userdel passwd root:x:0:0:root:/root:/bin/bash User Management Root ยท System ยท Normal Users
View on LinkedIn โ†’
4.1

User Management

๐Ÿ‘ค User & UID basics ๐Ÿ” root, system & normal users โš™๏ธ user privileges ๐Ÿงฑ system vs normal difference ๐Ÿ’ป user management commands.

RHCSA
GROUP A GROUP B GROUP ACCESS RULES โœ… Allow Access โœ๏ธ Edit Access โŒ Deny Access groupadd devs gpasswd -a user groups varad SYSTEM POWER STORAGE DATA DENY ACCESS ALLOW ACCESS Group Management GID ยท groupadd ยท gpasswd ยท /etc/group
View on LinkedIn โ†’
4.2

Group Management

๐Ÿง concept clarity ๐Ÿ“˜ groups basics ๐Ÿ”ฅ types of groups ๐Ÿ› ๏ธ command practice ๐Ÿ“„ /etc/group fields.

RHCSA
- rwx r-x r-- varad devs file.sh Owner Group Others r โ€” Read ๐Ÿ“– View file content Octal: 4 w โ€” Write โœ๏ธ Modify content Octal: 2 x โ€” Execute โšก Run the file Octal: 1 $ chmod 755 file.sh $ chmod u+x file.sh FILE Permissions
View on LinkedIn โ†’
05

FILE Permission

Information related to file permission, its various types (r,w,x). how you can allocate it to user, group & others.

RHCSA
crontab at command One-time task $ at 10:00 AM $ atq / atrm cron Repeating task * * * * * cmd crontab -e/-l min hr day mon wday command 0 2 * * 0 /scripts/backup.sh Job Scheduling
View on LinkedIn โ†’
06

Job Scheduling

Basic automation in linux os by scheduling the task using at and crontab. Basic commands and configuration of the job scheduling.

RHCSA
setfacl Set ACL rules -m u:user:rwx -m g:grp:r-x -x remove rule getfacl View ACL rules user::rwx user:bob:r-- mask::r-x ๐ŸŽญ MASK USER โ€” Effective Permission Limiter mask::r-x โ†’ user:bob:rwx becomes r-x (mask overrides!) ACL โ€” Access Control List setfacl ยท getfacl ยท mask ยท fine-grained control
View on LinkedIn โ†’
07

ACL (Access Control List)

๐Ÿ” ACL basics ๐ŸŽญ Mask user importance ๐Ÿ› ๏ธ setfacl & getfacl usage ๐Ÿ” find command deep dive ๐Ÿ’ก Linux tip for faster workflow โšก

RHCSA
Application container Containers Host System namespaces cgroups SELinux Containerization kernel ยท namespaces ยท cgroups ยท SELinux
View on LinkedIn โ†’
08

Containerization

๐Ÿณ Containerization basics ๐Ÿ—๏ธ architecture (kernel, namespaces, cgroups, SELinux) โš™๏ธ solves host issues ๐Ÿ“Š pros & limitations.

RHCSA
PODMAN Podman Features ๐Ÿ” Rootless containers ๐Ÿšซ No daemon required ๐Ÿง RHEL native tool ๐Ÿ”„ Docker compatible ๐Ÿงฉ cgroups + SELinux $ podman run -d nginx $ podman ps -a $ podman images Podman rootless ยท daemonless ยท RHEL native
View on LinkedIn โ†’
8.2

Podman

๐Ÿง Containerization revision ๐Ÿ“ฆ Podman architecture & benefits ๐Ÿ” rootless, daemonless containers ๐Ÿงฉ namespaces, cgroups, SELinux ๐Ÿ–ฅ๏ธ Podman Desktop usage

RHCSA
DOCKER $ docker run -d nginx $ docker ps -a $ docker build -t app . Build & Ship Fast & Light Scalable Docker Build ยท Ship ยท Run ยท Scale
View on LinkedIn โ†’
8.3

Docker

๐Ÿ“„ Docker documentation done ๐Ÿณ containerization basics ๐Ÿ—๏ธ architecture (client, daemon, registry) โš™๏ธ step-by-step workflow โœ… advantages & โš ๏ธ limitations.

RHCSA
Hard Disk sda1 sda2 sda3 Linux Boot Sequence 1 BIOS/UEFI Power-on self test 2 MBR/GRUB Bootloader loads 3 Kernel Linux kernel init 4 systemd Init system starts ๐Ÿ–ฅ๏ธ Login prompt Partition Part-1 Disk layout ยท Boot sequence ยท GRUB
View on LinkedIn โ†’
9.1

Partition Part-1

๐Ÿงฉ Logical disk division ๐Ÿ” better data isolation ๐Ÿš€ Linux boot sequence ๐Ÿง  cold vs warm boot ๐Ÿ› ๏ธ kernel, GRUB & filesystem roles.

RHCSA
MBR Max 4 Primary Partitions Disk limit: 2TB 32-bit partition entries P1 P2 P3 fdisk /dev/sda lsblk / blkid GPT Up to 128 Partitions Disk limit: 9.4 ZB 64-bit partition entries P1 P2 P3 P4 ... gdisk /dev/sda parted / lsblk VS Primary Partition Extended โ†’ Logical Swap Partition Partition Part-2 MBR vs GPT ยท Primary ยท Extended ยท Logical
View on LinkedIn โ†’
9.2

Partition Part-2

๐Ÿงฉ Primary, Extended & Logical partitions โš–๏ธ MBR vs GPT differences ๐Ÿ“ partition limits & entries ๐Ÿš€ smart partition planning before OS installation.

RHCSA
sudo terminal $ sudo visudo varad ALL=(ALL) ALL $ sudo su - [root@rhel ~]# $ sudo -l User may run: ALL /etc/shadow ๐Ÿ” Encrypted passwords ๐Ÿ“… Password aging โฐ Min/Max days โš ๏ธ Warning period ๐Ÿšซ Account expiry chage -l username ๐Ÿ“‹ sudoers syntax: user HOST= (runas) NOPASSWD: command Sudo & Shadow sudoers ยท visudo ยท /etc/shadow ยท chage
View on LinkedIn โ†’
10

Sudo & Shadow

๐Ÿงพ sudoers syntax & command permissions ๐Ÿง  why visudo matters ๐Ÿ”’ /etc/shadow with password aging โš ๏ธ small misconfigurations can break security.

RHCSA
CLIENT varad@local $ ssh user@ip Connected โœ“ SERVER Port 22 sshd daemon ๐Ÿ” Encrypted Tunnel Private Key Public Key $ ssh-keygen -t rsa $ ssh-copy-id user@192.168.1.10 $ scp file.txt user@server:/path/ SSH โ€” Secure Shell key-based auth ยท SCP ยท Port 22 ยท sshd
View on LinkedIn โ†’
11.1

SSH (Secure Shell Access)

๐Ÿ” Secure remote access via SSH ๐Ÿ”‘ password vs key-based auth โš™๏ธ TCP & key exchange basics ๐Ÿ“‚ SCP for secure transfer ๐ŸŒ role in DevOps & cloud.

RHCSA
NTP 12 6 9 3 chronyc sources timedatectl Time Sync โœ“ NFS NFS Server /srv/share NFS Client mount -t nfs exportfs -rv showmount -e /etc/exports RPC service NTP & NFS chrony ยท timedatectl ยท exports ยท mountd
View on LinkedIn โ†’
11.2

NTP and NFS

โฑ๏ธ NTP time sync ๐Ÿ–ฅ๏ธ Chrony config ๐Ÿ“‚ NFS file sharing ๐Ÿ”— RPC discovery โš™๏ธ remote mount like local storage.

RHCSA
/etc/passwd name:x:UID:GID:comment:home:shell root x 0 0 root:/root:/bin/bash /etc/shadow root:$6$hash:19000:0:99999:7::: /etc/group devs:x:1001:varad,alice,bob /etc/fstab /dev/sda1 / ext4 defaults 0 1 /etc/crontab 0 2 * * 0 root /scripts/backup.sh /etc/passwd /etc/shadow /etc/group /etc/fstab /etc/crontab File Fields in Linux passwd ยท shadow ยท group ยท fstab ยท crontab
View on LinkedIn โ†’
12

File Fields in linux

๐Ÿ“ /etc/passwd basics ๐Ÿ” /etc/shadow security ๐Ÿ‘ฅ group & gshadow management ๐Ÿ’ฝ fstab for mounting โฐ cron scheduling ๐ŸŒ services port mapping.

RHCSA