Here is the video version, if you prefer it:
There are other compression commands (such as
bzip2) and archiving commands (such as
zip). (Shotts, 2019)
zip may be useful; its syntax is:
zip zipFile fileToArchive
zipFile is the newly created zip file and
fileToArchive is the file you want to compress.
fileToArchive is a directory, use:
zip -r zipFile fileToArchive
To unzip use:
I never used
bzip2 so far, but just know that it exists.
Hope you learned something useful!
Shotts, W. (2019). The Linux Command Line, Fifth Internet Edition. Retrieved from http://linuxcommand.org/tlcl.php. Pages 261-262; 268-270