在Ubuntu文件管理中,压缩文件可按需求选择以下方便的方式:
zip -r archive.zip /path/to/file_or_folder,解压用unzip archive.zip。tar -czvf archive.tar.gz /path/to/file_or_folder,解压用tar -xzvf archive.tar.gz。p7zip-full,压缩用7z a archive.7z /path/to/file_or_folder,解压用7z x archive.7z -o/path/to/directory。