July 2018
Beginner
264 pages
8h 9m
English
First, let's see how we can compress the files:
$ bzip2 filename
Using bzip2, we can compress multiple files and directories at the same time. Just separate them by putting a space between each of them. You can compress it as follows:
$ bzip2 file1 file2 file3 /student/work
$ zip -r file_name.zip files_dir
After running the preceding command, the file to be compressed or the directory to be compressed, such as files_zip will be compressed and you will get a compressed file called file_name.zip ...
Read now
Unlock full access