Рет қаралды 27,448
Files Compression, Decompression, Zipping & Unzipping in RHEL 8:
-----------------------------------------------------
Compress Using gzip and bzip2 utility:
gzip filename
bzip2 filename
Decompress Using gunzip and bunzip2 utility:
gunzip filename.gz
bunzip2 filename.gz2
View Compressed Files zipped by gzip and bzip2 Utility:
zcat filename.gz
bzcat filename.gz2
---------------------------------------------------------
TAR:
Zip several files into one using tar (Tape Archive) utility:
tar cf newname.tar file1 file2 file3
tar cf newname.zip file1 file2 file3
Zip and compress (using gzip) in tar utility:
tar czf newname.tar.gz file1 file2
Zip and compress (using bzip2) in tar utility:
tar cjf newname.tar.bz2 file1 file2 file3
Zip files with preserve permissions by tar utility:
tar cvpf newname.tar file1 file2 file3 file4
Unzip using tar utility:
tar xvf zipfilename.zip
tar xvf zipfilename.tar
tar xvf zipfilename.tar.gz
tar xvf zipfilename.tar.bz2
(where newname & zipfilename are used only for example, you can use different names as you wish).
Thanks for watching, please share and like.
===================================================
LVM Snapshot in RHEL:
• Session-30 | Logical V...
Reset Root Password in RHEL 8:
• Reset Forgotten Root U...
Logical Volume Management in RHEL 8:
• Logical Volume Managem...
Configure VNC in RHEL:
• Configure VNC (Virtual...
Create Swap File in RHEL 8:
• Create Swap File in Re...
====================================================
Social Media Links:
For Registration:👇
bit.ly/NehraCla...
To Follow Our Twitter Handle:👇
nehraclasses
To Follow Vikas Nehra's Twitter Handle:👇
ErNehraVikas
To Visit Our Facebook Page:👇
nehraclasses
To Our Visit Our Webpage:👇
bit.ly/NehraCla...
Join Us on Telegram App: 👇
t.me/NehraClasses
WhatsApp Us: 👇
bit.ly/2Kpqp5z
Contact Us:
Email: nehraclasses@gmail.com