News

If we want to zip a single file, you could use a command like the second of the two commands shown below. The file to be zipped (tips.html) is shown in the first command. $ ls -l tips.html ...
The zip command not only stores the files together, but reduces the size of the files in the process. The zip file in these examples is less than half the size of the two files combined.
To zip a file (which effectively compresses the file, so its size is considerably smaller) from the command line is actually quite simple… once you know the order of the command, which is: ...
This is particularly useful when you want to compress multiple directories and their contents at once . Conclusion Mastering the Linux zip command is a useful skill for anyone working with Unix-based ...
It defaults to the name of the folder you're compressing, but if you want to use a different name, type that here. Select Create, and your zip folder will appear in your list of folders. 2.
At some point in your Linux journey, you'll need to be able to compress and decompress a folder from the command line. Jack Wallen shows you how. The Linux command line is an incredibly powerful tool.