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...
Step 1: Create a Tar Archive of backup_dir bashCopyEdittar -cvf backup.tar backup_dir c → Create a new archive v → Verbose mode (shows files being archived) f → Specifies the filename (backup.tar) Step 2: Verify the Archive Using ls bashCopyEd...
What is a TAR Ball? A TAR ball is a common term used in the Linux world to refer to a collection of files bundled together into a single archive file. The term "TAR" stands for Tape Archive, a format used for storing multiple files in a single file. ...