Compress backup.tar using gzip to create backup.tar.gz. (Check the size before and after compression)
Mar 31, 2025 · 1 min read · Step 1: Check the Size of backup.tar Before Compression bashCopyEditls -lh backup.tar l → Long listing format h → Human-readable sizes (KB, MB, GB) Step 2: Compress backup.tar Using gzip bashCopyEditgzip backup.tar This will compress backup.t...
Join discussion