Linux & shell: Zip & compress
4 Linux & shell commands: Zip & compress. Click a command to see what each part does.
Linux & shell: Zip & compressIndex
- Whole sheet251
- Navigate & list13
- Create, copy, move, delete13
- View & compare files9
- Permissions & ownership31
- Help & shell basics11
- Users & groups6
- Install packages7
- Package & software versions29
- System info9
- Network basics & SSH10
- Zip & compress4
- Shell operators6
- Processes6
- Files & search8
- Text processing pipelines4
- Disk3
- Network5
- Services & logs6
- Archives & copying4
- Firewall7
- Scheduling: cron & systemd timers6
- Storage, mounts & LVM10
- Kernel, hardware & limits8
- Performance & tracing10
- TLS & certificates8
- Packet capture & network debugging10
- Terminal tools8
Zip & compress4
zip -r <archive>.zip <dir>Zip a folderWhat each part does
zipcreate a .zip archive-rinclude folders recursively
unzip <archive>.zip -d <dir>Unzip into a folderWhat each part does
-d <dir>extract into <dir> instead of the current folder
gzip <file>; gunzip <file>.gzCompress / decompress one fileWhat each part does
gzip <file>replace <file> with <file>.gzgunziprestore the original
tar -tf <archive>.tar.gzList what is inside a tarballWhat each part does
-tlist contents-farchive file name
Nothing matches.
My DevOps Playbook by Angelo John Calleja