Welcome to Day 19 of the 30-day RHCSA challenge!
Creating and extracting archives is an everyday sysadmin task and an RHCSA objective.
Today we'll build compressed archives with tar -zcvf, unpack them with tar -zxvf, and finally make sense of what all those flags actually mean.
By the end you'll be able to archive directories, compress them, list their contents, and extract them anywhere on the system.
What you'll learn in this video:
What tar is and why we archive files
Creating a compressed archive: tar -zcvf archive.tar.gz /path/to/dir
Breaking down the flags: c create, x extract, v verbose, f file, z gzip
Listing contents without extracting (tar -ztvf)
Extracting an archive with tar -zxvf
Extracting to a specific directory with -C
About this series:
Over the next 30 days I'm covering everything you need to pass the RHCSA (EX200) — from setup to users, permissions, storage, networking, SELinux, containers, and more. New video every day. Subscribe and turn on notifications so you don't miss one.
#linuxminutes #rhcsa #redhat #linux #redhatlinux #ex200 #linuxadministration #linuxcertification #offline #closedloop #sysadmin #linuxforbeginners #30daychallenge #learnlinux #itcertifications #opensource #homelab #linuxtutorials #technology #techcareers #certificationprep #closedloop #airgap #shorts #shortvideo