Extract any archive
Useful Linux one-liner
a() { case $1 in *.tar.gz) tar xzf $1;; *.zip) unzip $1;; esac; }; a file
Linux basics
161 Compression & Archiving Linux command examples grouped into 27 practical sections.
Browse grouped command cards or search directly below.
91 commands
Useful Linux one-liner
a() { case $1 in *.tar.gz) tar xzf $1;; *.zip) unzip $1;; esac; }; a file
high-compression file archiver supporting multiple formats
7z a [archive.7z] [files...]
standalone file archiver from the 7-Zip family
7za a [archive.7z] [files...]
minimal 7z-only file archiver
7zr a [archive.7z] [files...]
Multi-protocol multi-source download utility
aria2c [https://example.com/file.zip]
Pack and extract Electron application archives.
asar pack [dir/] [output.asar]
Manage serverless functions and event-driven compute.
aws lambda create-function --function-name [my-function] --runtime python3.11 --role [arn:aws:iam::account:role/lambda-role] --handler [index.handler] --zip-file fileb://[function.zip]
Lightweight multi-connection download accelerator
axel [https://example.com/file.zip]
Display progress bars for data transfers.
bar -if [input_file] -of [output_file]
Decompress bzip2 compressed files
bunzip2 [file.txt.bz2]
Decompress bzip2 files to standard output
bzcat [file.txt.bz2]
Search bzip2 files using extended regular expressions
bzegrep "[pattern]" [path/to/file.bz2]
Search bzip2 files for fixed string patterns
bzfgrep "[string]" [path/to/file.bz2]
Search bzip2 compressed files for patterns
bzgrep ["pattern"] [file.bz2]
High-performance file compressor with improved ratios over bzip2
bzip3 [file.txt]
View bzip2 compressed files with less pager
bzless [file.txt.bz2]
View bzip2 compressed files with more pager
bzmore [file.txt.bz2]
interactive command-line cheatsheets
cheat [tar]
Check in RCS revisions
ci [path/to/file]
open-source antivirus toolkit
clamscan [path/to/file]
Archive utility with stdin file lists
find . -depth | cpio -o > [archive.cpio]
save Docker images to tar archives
docker save -o [image.tar] [image]
Debian archive manipulation tool
dpkg-deb -I [path/to/file.deb]
intelligent archive extraction tool
dtrx [archive.tar.gz]
lossless image compression optimizer
ect [image.png]
Headless multiplayer game server
[path/to]/factorio --create [path/to/save_file.zip]
encrypted file sharing client
ffsend upload [file.zip]
GNOME graphical archive manager
file-roller
extract the first member of a ZIP or gzip archive from a pipe
cat [file.zip] | funzip > [output]
Export the current HEAD of the git repository to a zip archive
git archive-file
Create archives of repository files without version control metadata
git archive HEAD -o [archive.tar]
Validate packed Git archive files
git verify-pack .git/objects/pack/pack-hash.idx
Terminal dashboard for multiple Get-Shit-Done workflow projects
gsd-meta-manager
decompresses files compressed by gzip, zip, compress, or pack
gunzip [file.gz]
compresses files using the Lempel-Ziv coding algorithm
gzip [file]
Java Archive tool
jar cf [output.jar] [files...]
65 commands
Command-line download/upload tool with resume
aim [https://domain.com/file.tar.gz] .
HTTP load testing tool with real-time TUI charts
ali [http://host.xz]
Open an interactive shell inside a container
apptainer shell [container.sif]
Backup and restore installed package states
sudo apt-clone clone [path/to/directory]
Filter and search BGP routing data in MRT format
bgpgrep [path/to/rib.mrt.gz] -subnet [192.0.2.0/24]
simple utility for creating backups of files and directories
bkp [path/to/file]
Compress and decompress files with the Brotli algorithm
brotli [file.txt]
Create and apply binary patches
bsdiff [oldfile] [newfile] [patch.bsdiff]
Build Python packages for distribution
python -m build
Block-sorting file compressor
bzip2 [file.txt]
reduce file sizes using LZW compression
compress path/to/file1 path/to/file2
Perl module installer from CPAN
cpan [Module::Name]
Zero-configuration CPAN installer
cpanm [Module::Name]
upload tarball as container image
crane push [image.tar] [registry/repo:tag]
CRC-32 checksum calculator
crc32 [path/to/file]
CPIO firmware image creator
create-image -o [path/to/output.cpio]
transfer data with URLs
curl -O [https://example.com/file.zip]
deep recursive file comparison tool
diffoscope [file1] [file2]
load images from tar archives
docker image load -i [image.tar]
save images to tar archives
docker image save -o [image.tar] [image]
GitHub release binary downloader
eget [owner/repo]
URL fetcher from multiple archive sources
gau [example.com]
Restore file timestamps from commit history
git utimes
installs Slackware packages, which are compressed tar archives containing
sudo installpkg [path/to/package.tgz]
downloads pictures, videos, captions, and metadata from Instagram profiles
instaloader [profile_name]
wrapper for lrzip that simplifies compression of directories
lrztar [path/to/directory]
Extract whole tarballs from .tar.lrz files
lrzuntar [archive.tar.lrz]
lists the contents of archive files
lsar [archive.zip]
Community package manager for all Linux distros
lure install [package]
Search compressed files for fixed strings
lzfgrep [string] [file.lz]
removes metadata from files to protect privacy
mat2 [file.jpg]
creates logical backups of MySQL databases
mysqldump -u [user] -p [database] > [backup.sql]
short form of pacman --upgrade, install or upgrade from local package files
tldr pacman upgrade
installs packages from local archive files rather than from remote repositories
sudo pacman -U path/to/package.pkg.tar.zst
creates and uses PAR2 files for data recovery
par2 create [backup.par2] [files]
discovers URL parameters by mining web archives
paramspider -d [example.com]
25 commands
next-generation Android resource compiler and packager
aapt2 compile [path/to/resource.xml] -o [output_directory]
Archive authentication and trust model documentation.
man apt-secure
Bundle aptitude state for bug reports
aptitude-create-state-bundle [bundle.tar.bz2]
Create and manage static library archives
ar rcs [archive.a] [file1.o] [file2.o]
Mount archive files as virtual filesystems via FUSE
archivemount [path/to/archive] [path/to/mount_point]
Block compression with random access support for genomics data
bgzip [file.vcf]
Compare bzip2 compressed files
bzdiff [file1.bz2] [file2.bz2]
Recover data from damaged bzip2 files
bzip2recover [damaged.bz2]
filesystem backup and restore tool
sudo fsarchiver savefs [archive.fsa] [/dev/sda1]
compiles locale definition files into binary locale data that can be
localedef --list-archive
backs up and restores video game save data
ludusavi backup
collects diagnostic information about the LVM2 subsystem for troubleshooting
lvmdump
manages MaxCompute (ODPS) project resources
odpscmd resource list
compresses and decompresses archives
ouch compress [file1] [file2] [archive.tar.gz]
removes old WAL archive files no longer needed by standby servers
pg_archivecleanup [archive_dir] [oldest_kept_wal]
Arch Linux package build script format
makepkg
Build Debian packages in clean chroot environments
sbuild [package.dsc]
Create squashfs filesystem from tar archives
sqfstar < [archive.tar] [filesystem.squashfs]
Encrypted deduplicated online backup
tarsnap -c -f [backup-name] [/path/to/backup]
Extract files from shell archives
unshar [archive.shar]
Create self-extracting ZIP executables
unzipsfx
Extensible archive format tool
xar -cf [archive.xar] [files]
Show differences in xz compressed files
xzdiff [file1.xz] [file2.xz]
Split ZIP archive into smaller parts
zipsplit [path/to/archive.zip]
Process .so includes in roff source files
zsoelim [file.man]
19 commands
Execute a command within an Apptainer container.
apptainer exec [container.sif] [command]
Create and extract ARC format archives
arc a [archive.arc] [files]
Create a tarball of the package
bun pm pack
Assemble a local package into a distributable archive
cargo package
crack password-protected ZIP archives
fcrackzip [-b|--brute-force] [-l|--length] 4-8 [-c|--charset] aA1 [archive]
Encrypt or sign files into a GPG archive (deprecated)
gpg-zip --symmetric --output [archive.gpg] [directory]
Package manager for the Haxe programming language
haxelib install [library]
Internet Archive command-line tool
ia download [item-name]
compresses files using the Lempel-Ziv-Markov chain Algorithm
lzma [file]
Reliable PostgreSQL backup and restore tool
pgbackrest --stanza=[name] stanza-create
manages PHP Archive files, which bundle PHP applications into single
phar add -f [path/to/archive.phar] [files...]
Extract password hashes from RAR archives
rar2john [archive.rar] > [hash.txt]
alias for restore — extract files from a dump(8) backup
tldr restore
Long-range compression for large files
rzip [file]
SlackBuilds.org package management tool
sbopkg -r
Collect SteamOS system diagnostics
sudo steamos-dump-info
Build Xcode projects from command line
xcodebuild
Search xz compressed files with grep
xzgrep "[pattern]" [file.xz]
Compare gzip-compressed files byte-by-byte
zcmp [file1.gz] [file2.gz]
15 commands
Useful Linux one-liner
tar czf backup.tar.gz directory/
Useful Linux one-liner
tar xzf archive.tar.gz
Useful Linux one-liner
tar cjf archive.tar.bz2 dir/
load Docker images from tar archives
docker load -i [image.tar]
Extract commit ID from tar archive
git get-tar-commit-id < [archive.tar]
Create and restore GitLab instance backups
sudo gitlab-backup create
manages disk images for systemd containers and system extensions
sudo importctl pull-tar [URL] [name]
parallel bzip2 compressor and decompressor
lbzip2 [file]
builds customized, modern Linux OS images
mkosi summary
POSIX archiver
pax -wf [archive.pax] [directory]
restores PostgreSQL databases from archives created by pg_dump
pg_restore -d [database] [backup.dump]
Export container filesystem as tar archive
podman export [container] -o [container.tar]
Load container images from tar archives
podman image load -i [image.tar]
Generate random identity data
rig
Extract files from ZIP archives
unzip [archive.zip]
7 commands
Flash OS images to SD cards and USB drives
balena-etcher
Deploy and manage applications on CapRover
caprover login
copy files between containers and the host
docker cp [container]:[/path/to/file] [/local/path]
copies files and directories between local filesystem and containers in pods
kubectl cp [localfile] [pod-name]:[/path/in/container]
lossless data compressor using the LZMA algorithm
lzip [file]
Terminal file manager with vim keybindings
ranger
Create and modify ZIP archives
zip [archive.zip] [file1] [file2]
2 commands
download container image as tarball
crane pull [image:tag] [output.tar]
interact with container registries without Docker
crane pull [registry/image:tag] [output.tar]
2 commands
1 commands
Automated website screenshot tool
shot-scraper [https://example.com]
1 commands
1 commands
1 commands
Encrypt sensitive dotfiles with yadm
yadm encrypt
1 commands
Decrypt yadm encrypted files
yadm decrypt
1 commands
export flattened image filesystem
crane export [image] [output.tar]
1 commands
1 commands
Replay aptitude state from a bundle
aptitude-run-state-bundle [bundle.tar.bz2]
1 commands
1 commands
1 commands
1 commands
Upload a package to a registry
cargo publish
1 commands
add layers to container images
crane append -b [base_image] -f [layer.tar.gz] -t [new_image:tag]
1 commands
creates a new LXC container in Proxmox VE from a template image
pct create 100 local:vztmpl/distro.tar.zst --rootfs local-lvm:4
1 commands
1 commands
streams WAL from server to archive
pg_receivewal -D [wal_dir] -h [host] -U [username]
1 commands
1 commands
1 commands
tar czf backup.tar.gz directory/
Copy it and replace filenames, paths, or keywords as needed.
tar xzf archive.tar.gz
Copy it and replace filenames, paths, or keywords as needed.
tar cjf archive.tar.bz2 dir/
Copy it and replace filenames, paths, or keywords as needed.
a() { case $1 in *.tar.gz) tar xzf $1;; *.zip) unzip $1;; esac; }; a file
Uses pipes, overwrite, or deletion. Check paths and options first.
7z a [archive.7z] [files...]
Copy it and replace filenames, paths, or keywords as needed.
7za a [archive.7z] [files...]
Copy it and replace filenames, paths, or keywords as needed.
7zr a [archive.7z] [files...]
Copy it and replace filenames, paths, or keywords as needed.
aapt2 compile [path/to/resource.xml] -o [output_directory]
Copy it and replace filenames, paths, or keywords as needed.
aim [https://domain.com/file.tar.gz] .
Copy it and replace filenames, paths, or keywords as needed.
ali [http://host.xz]
Copy it and replace filenames, paths, or keywords as needed.
apptainer exec [container.sif] [command]
Copy it and replace filenames, paths, or keywords as needed.
apptainer shell [container.sif]
Copy it and replace filenames, paths, or keywords as needed.
sudo apt-clone clone [path/to/directory]
May affect permissions or system state. Check the target first.
man apt-secure
Copy it and replace filenames, paths, or keywords as needed.
aptitude-create-state-bundle [bundle.tar.bz2]
Copy it and replace filenames, paths, or keywords as needed.
aptitude-run-state-bundle [bundle.tar.bz2]
Copy it and replace filenames, paths, or keywords as needed.
ar rcs [archive.a] [file1.o] [file2.o]
Copy it and replace filenames, paths, or keywords as needed.
arc a [archive.arc] [files]
Copy it and replace filenames, paths, or keywords as needed.
archivemount [path/to/archive] [path/to/mount_point]
May affect permissions or system state. Check the target first.
aria2c [https://example.com/file.zip]
Copy it and replace filenames, paths, or keywords as needed.
ark -b [path/to/archive]
Copy it and replace filenames, paths, or keywords as needed.
asar pack [dir/] [output.asar]
Copy it and replace filenames, paths, or keywords as needed.
atool -x [archive.tar.gz]
Copy it and replace filenames, paths, or keywords as needed.
aws lambda create-function --function-name [my-function] --runtime python3.11 --role [arn:aws:iam::account:role/lambda-role] --handler [index.handler] --zip-file fileb://[function.zip]
Copy it and replace filenames, paths, or keywords as needed.
axel [https://example.com/file.zip]
Copy it and replace filenames, paths, or keywords as needed.
balena-etcher
Copy it and replace filenames, paths, or keywords as needed.
bar -if [input_file] -of [output_file]
Copy it and replace filenames, paths, or keywords as needed.
bdfr download [./output] --subreddit [Python] -L [10]
Copy it and replace filenames, paths, or keywords as needed.
bgpgrep [path/to/rib.mrt.gz] -subnet [192.0.2.0/24]
May affect permissions or system state. Check the target first.
bgzip [file.vcf]
Copy it and replace filenames, paths, or keywords as needed.
bkp [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
brotli [file.txt]
Copy it and replace filenames, paths, or keywords as needed.
bsdiff [oldfile] [newfile] [patch.bsdiff]
Copy it and replace filenames, paths, or keywords as needed.
python -m build
Copy it and replace filenames, paths, or keywords as needed.
bun pm pack
Copy it and replace filenames, paths, or keywords as needed.
bunzip2 [file.txt.bz2]
Copy it and replace filenames, paths, or keywords as needed.
bzcat [file.txt.bz2]
Copy it and replace filenames, paths, or keywords as needed.
bzdiff [file1.bz2] [file2.bz2]
Copy it and replace filenames, paths, or keywords as needed.
bzegrep "[pattern]" [path/to/file.bz2]
Copy it and replace filenames, paths, or keywords as needed.
bzfgrep "[string]" [path/to/file.bz2]
Copy it and replace filenames, paths, or keywords as needed.
bzgrep ["pattern"] [file.bz2]
Copy it and replace filenames, paths, or keywords as needed.
bzip2 [file.txt]
Copy it and replace filenames, paths, or keywords as needed.
bzip2recover [damaged.bz2]
Copy it and replace filenames, paths, or keywords as needed.
bzip3 [file.txt]
Copy it and replace filenames, paths, or keywords as needed.
bzless [file.txt.bz2]
Copy it and replace filenames, paths, or keywords as needed.
bzmore [file.txt.bz2]
Copy it and replace filenames, paths, or keywords as needed.
caprover login
Copy it and replace filenames, paths, or keywords as needed.
cargo package
Copy it and replace filenames, paths, or keywords as needed.
cargo publish
Copy it and replace filenames, paths, or keywords as needed.
cheat [tar]
Copy it and replace filenames, paths, or keywords as needed.
ci [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
clamscan [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
compress path/to/file1 path/to/file2
Copy it and replace filenames, paths, or keywords as needed.
cpan [Module::Name]
Copy it and replace filenames, paths, or keywords as needed.
cpanm [Module::Name]
Copy it and replace filenames, paths, or keywords as needed.
find . -depth | cpio -o > [archive.cpio]
Uses pipes, overwrite, or deletion. Check paths and options first.
crane append -b [base_image] -f [layer.tar.gz] -t [new_image:tag]
Copy it and replace filenames, paths, or keywords as needed.
crane export [image] [output.tar]
Copy it and replace filenames, paths, or keywords as needed.
crane pull [image:tag] [output.tar]
Copy it and replace filenames, paths, or keywords as needed.
crane push [image.tar] [registry/repo:tag]
Copy it and replace filenames, paths, or keywords as needed.
crane pull [registry/image:tag] [output.tar]
Copy it and replace filenames, paths, or keywords as needed.
crc32 [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
create-image -o [path/to/output.cpio]
Copy it and replace filenames, paths, or keywords as needed.
curl -O [https://example.com/file.zip]
Requires network or a remote resource.
diffoscope [file1] [file2]
Copy it and replace filenames, paths, or keywords as needed.
dive [image:tag]
Copy it and replace filenames, paths, or keywords as needed.
docker cp [container]:[/path/to/file] [/local/path]
Copy it and replace filenames, paths, or keywords as needed.
docker image load -i [image.tar]
Copy it and replace filenames, paths, or keywords as needed.
docker image save -o [image.tar] [image]
Copy it and replace filenames, paths, or keywords as needed.
docker load -i [image.tar]
Copy it and replace filenames, paths, or keywords as needed.
docker save -o [image.tar] [image]
Copy it and replace filenames, paths, or keywords as needed.
dpkg-deb -I [path/to/file.deb]
Copy it and replace filenames, paths, or keywords as needed.
dtrx [archive.tar.gz]
Copy it and replace filenames, paths, or keywords as needed.
ect [image.png]
Copy it and replace filenames, paths, or keywords as needed.
eget [owner/repo]
Copy it and replace filenames, paths, or keywords as needed.
engrampa [path/to/archive1.tar] [path/to/archive2.tar]
Copy it and replace filenames, paths, or keywords as needed.
[path/to]/factorio --create [path/to/save_file.zip]
Copy it and replace filenames, paths, or keywords as needed.
fcrackzip [-b|--brute-force] [-l|--length] 4-8 [-c|--charset] aA1 [archive]
Uses pipes, overwrite, or deletion. Check paths and options first.
ffsend upload [file.zip]
Copy it and replace filenames, paths, or keywords as needed.
file-roller
Copy it and replace filenames, paths, or keywords as needed.
sudo fsarchiver savefs [archive.fsa] [/dev/sda1]
May affect permissions or system state. Check the target first.
cat [file.zip] | funzip > [output]
Uses pipes, overwrite, or deletion. Check paths and options first.
gau [example.com]
Copy it and replace filenames, paths, or keywords as needed.
git archive-file
Copy it and replace filenames, paths, or keywords as needed.
git archive HEAD -o [archive.tar]
Copy it and replace filenames, paths, or keywords as needed.
git get-tar-commit-id < [archive.tar]
Copy it and replace filenames, paths, or keywords as needed.
git utimes
Copy it and replace filenames, paths, or keywords as needed.
git verify-pack .git/objects/pack/pack-hash.idx
Copy it and replace filenames, paths, or keywords as needed.
sudo gitlab-backup create
May affect permissions or system state. Check the target first.
gpg-zip --symmetric --output [archive.gpg] [directory]
May affect permissions or system state. Check the target first.
gsd-meta-manager
Copy it and replace filenames, paths, or keywords as needed.
gunzip [file.gz]
Copy it and replace filenames, paths, or keywords as needed.
gzip [file]
Copy it and replace filenames, paths, or keywords as needed.
haxelib install [library]
Copy it and replace filenames, paths, or keywords as needed.
ia download [item-name]
Copy it and replace filenames, paths, or keywords as needed.
sudo importctl pull-tar [URL] [name]
May affect permissions or system state. Check the target first.
sudo installpkg [path/to/package.tgz]
May affect permissions or system state. Check the target first.
instaloader [profile_name]
Copy it and replace filenames, paths, or keywords as needed.
jar cf [output.jar] [files...]
Copy it and replace filenames, paths, or keywords as needed.
jarsigner -keystore [keystore.jks] [app.jar] [alias]
Copy it and replace filenames, paths, or keywords as needed.
kioclient exec [url]
Copy it and replace filenames, paths, or keywords as needed.
kubectl cp [localfile] [pod-name]:[/path/in/container]
Copy it and replace filenames, paths, or keywords as needed.
lbzip2 [file]
Copy it and replace filenames, paths, or keywords as needed.
localedef --list-archive
Copy it and replace filenames, paths, or keywords as needed.
lrzip [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
lrztar [path/to/directory]
Copy it and replace filenames, paths, or keywords as needed.
lrzuntar [archive.tar.lrz]
Copy it and replace filenames, paths, or keywords as needed.
lsar [archive.zip]
Copy it and replace filenames, paths, or keywords as needed.
ludusavi backup
Copy it and replace filenames, paths, or keywords as needed.
lure install [package]
Copy it and replace filenames, paths, or keywords as needed.
lvmdump
Copy it and replace filenames, paths, or keywords as needed.
lz [path/to/file.tar.gz]
Copy it and replace filenames, paths, or keywords as needed.
lzcat [file.lz]
Copy it and replace filenames, paths, or keywords as needed.
lzcmp [file1.xz] [file2.xz]
Copy it and replace filenames, paths, or keywords as needed.
lzfgrep [string] [file.lz]
Copy it and replace filenames, paths, or keywords as needed.
lzip [file]
Copy it and replace filenames, paths, or keywords as needed.
lzma [file]
Copy it and replace filenames, paths, or keywords as needed.
mat2 [file.jpg]
Copy it and replace filenames, paths, or keywords as needed.
mc
Copy it and replace filenames, paths, or keywords as needed.
mc
Copy it and replace filenames, paths, or keywords as needed.
mkosi summary
Copy it and replace filenames, paths, or keywords as needed.
mongodump --db [database]
Copy it and replace filenames, paths, or keywords as needed.
mysqldump -u [user] -p [database] > [backup.sql]
Uses pipes, overwrite, or deletion. Check paths and options first.
list functions;
Uses pipes, overwrite, or deletion. Check paths and options first.
odpscmd resource list
Copy it and replace filenames, paths, or keywords as needed.
ouch compress [file1] [file2] [archive.tar.gz]
Copy it and replace filenames, paths, or keywords as needed.
ov [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
7z x [archive.7z]
Copy it and replace filenames, paths, or keywords as needed.
tldr pacman upgrade
Copy it and replace filenames, paths, or keywords as needed.
sudo pacman -U path/to/package.pkg.tar.zst
May affect permissions or system state. Check the target first.
par2 create [backup.par2] [files]
Copy it and replace filenames, paths, or keywords as needed.
parallel [gzip] ::: [*.txt]
Copy it and replace filenames, paths, or keywords as needed.
paramspider -d [example.com]
Copy it and replace filenames, paths, or keywords as needed.
patool extract [path/to/archive]
Copy it and replace filenames, paths, or keywords as needed.
pax -wf [archive.pax] [directory]
Copy it and replace filenames, paths, or keywords as needed.
pbzip2 [file]
Copy it and replace filenames, paths, or keywords as needed.
pct create 100 local:vztmpl/distro.tar.zst --rootfs local-lvm:4
Copy it and replace filenames, paths, or keywords as needed.
pct restore [VMID] [/path/to/backup.tar.zst]
Copy it and replace filenames, paths, or keywords as needed.
perl [script.pl]
Copy it and replace filenames, paths, or keywords as needed.
pg_archivecleanup [archive_dir] [oldest_kept_wal]
Copy it and replace filenames, paths, or keywords as needed.
pg_dump [database_name] > [backup.sql]
Uses pipes, overwrite, or deletion. Check paths and options first.
pg_receivewal -D [wal_dir] -h [host] -U [username]
Copy it and replace filenames, paths, or keywords as needed.
pg_restore -d [database] [backup.dump]
Copy it and replace filenames, paths, or keywords as needed.
pgbackrest --stanza=[name] stanza-create
Copy it and replace filenames, paths, or keywords as needed.
phar add -f [path/to/archive.phar] [files...]
May affect permissions or system state. Check the target first.
phing
Copy it and replace filenames, paths, or keywords as needed.
pigz [file]
Copy it and replace filenames, paths, or keywords as needed.
openssl pkcs12 -export -out [cert.p12] -inkey [key.pem] -in [cert.pem]
Copy it and replace filenames, paths, or keywords as needed.
pkgadd [package]
May affect permissions or system state. Check the target first.
makepkg
Copy it and replace filenames, paths, or keywords as needed.
pkgctl diff -l path/to/file
Copy it and replace filenames, paths, or keywords as needed.
pkgmk -d
Copy it and replace filenames, paths, or keywords as needed.
pkgutil --pkgs
Copy it and replace filenames, paths, or keywords as needed.
podman export [container] -o [container.tar]
Copy it and replace filenames, paths, or keywords as needed.
podman image load -i [image.tar]
Copy it and replace filenames, paths, or keywords as needed.
podman import [file.tar] [image:tag]
Copy it and replace filenames, paths, or keywords as needed.
podman load -i [image.tar]
Copy it and replace filenames, paths, or keywords as needed.
podman save -o [image.tar] [image:tag]
Copy it and replace filenames, paths, or keywords as needed.
portal send [file1] [file2] [folder1]
Copy it and replace filenames, paths, or keywords as needed.
progress
Copy it and replace filenames, paths, or keywords as needed.
ptargrep "[pattern]" [archive.tar.gz]
Copy it and replace filenames, paths, or keywords as needed.
ranger
Copy it and replace filenames, paths, or keywords as needed.
ranlib [libfoo.a]
Copy it and replace filenames, paths, or keywords as needed.
rar a [archive.rar] [files]
Copy it and replace filenames, paths, or keywords as needed.
rar2john [archive.rar] > [hash.txt]
Uses pipes, overwrite, or deletion. Check paths and options first.
rarcrack [archive.rar]
Copy it and replace filenames, paths, or keywords as needed.
rauc bundle --cert=[cert.pem] --key=[key.pem] [content_dir/] [update.raucb]
Copy it and replace filenames, paths, or keywords as needed.
tldr restore
Copy it and replace filenames, paths, or keywords as needed.
repo-add path/to/database.db.tar.gz
May affect permissions or system state. Check the target first.
repo-remove [path/to/database.db.tar.gz] [package_name]
Copy it and replace filenames, paths, or keywords as needed.
rga [pattern]
Copy it and replace filenames, paths, or keywords as needed.
rig
Copy it and replace filenames, paths, or keywords as needed.
rpm2cpio [path/to/file.rpm] > [file.cpio]
Uses pipes, overwrite, or deletion. Check paths and options first.
rpmbuild -ba path/to/spec_file
Copy it and replace filenames, paths, or keywords as needed.
rsync -av [source/] [destination/]
Requires network or a remote resource.
rzip [file]
Copy it and replace filenames, paths, or keywords as needed.
sbopkg -r
Copy it and replace filenames, paths, or keywords as needed.
sbuild [package.dsc]
Copy it and replace filenames, paths, or keywords as needed.
searchsploit [apache] [struts]
Copy it and replace filenames, paths, or keywords as needed.
shar -V [path/to/file1] [path/to/file2] > [archive.sh]
Uses pipes, overwrite, or deletion. Check paths and options first.
shot-scraper [https://example.com]
Copy it and replace filenames, paths, or keywords as needed.
smbclient //[server]/[share]
Copy it and replace filenames, paths, or keywords as needed.
sqfscat [filesystem.squashfs] [file1] [file2]
Copy it and replace filenames, paths, or keywords as needed.
sqfstar < [archive.tar] [filesystem.squashfs]
Copy it and replace filenames, paths, or keywords as needed.
sudo steamos-dump-info
May affect permissions or system state. Check the target first.
strip-nondeterminism [file]
Copy it and replace filenames, paths, or keywords as needed.
tar -cvf [archive.tar] [file1] [file2]
Copy it and replace filenames, paths, or keywords as needed.
tarsnap -c -f [backup-name] [/path/to/backup]
Copy it and replace filenames, paths, or keywords as needed.
todo.sh add "[task text]"
May affect permissions or system state. Check the target first.
twine upload dist/*
Copy it and replace filenames, paths, or keywords as needed.
ugrep "[pattern]" [file]
Copy it and replace filenames, paths, or keywords as needed.
unar [archive.zip]
Copy it and replace filenames, paths, or keywords as needed.
uncompress [path/to/file1.Z] [path/to/file2.Z]
Copy it and replace filenames, paths, or keywords as needed.
unlzma [file.lzma]
Copy it and replace filenames, paths, or keywords as needed.
unp [archive.tar.gz]
Copy it and replace filenames, paths, or keywords as needed.
unrar x [archive.rar]
Copy it and replace filenames, paths, or keywords as needed.
unshar [archive.shar]
Copy it and replace filenames, paths, or keywords as needed.
unxz [file.xz]
Copy it and replace filenames, paths, or keywords as needed.
unzip [archive.zip]
Copy it and replace filenames, paths, or keywords as needed.
unzipsfx
Copy it and replace filenames, paths, or keywords as needed.
unzstd [file.zst]
Copy it and replace filenames, paths, or keywords as needed.
vaen validate
Copy it and replace filenames, paths, or keywords as needed.
vboxmanage export [vmname] -o [file.ova]
Copy it and replace filenames, paths, or keywords as needed.
warp-diag
Copy it and replace filenames, paths, or keywords as needed.
echo "[example.com]" | waybackurls
Uses pipes, overwrite, or deletion. Check paths and options first.
waymore -i [example.com]
Copy it and replace filenames, paths, or keywords as needed.
wcurl [https://example.com/file.zip]
Requires network or a remote resource.
web-ext run
Copy it and replace filenames, paths, or keywords as needed.
wget2 [https://example.com/file.zip]
Requires network or a remote resource.
xar -cf [archive.xar] [files]
Copy it and replace filenames, paths, or keywords as needed.
xcodebuild
Copy it and replace filenames, paths, or keywords as needed.
xz [file]
Copy it and replace filenames, paths, or keywords as needed.
xzcat [file.xz]
Copy it and replace filenames, paths, or keywords as needed.
xzcmp [file1.xz] [file2.xz]
Copy it and replace filenames, paths, or keywords as needed.
xzdiff [file1.xz] [file2.xz]
Copy it and replace filenames, paths, or keywords as needed.
xzegrep "[pattern]" [file.xz]
Copy it and replace filenames, paths, or keywords as needed.
xzfgrep "[string]" [file.xz]
Copy it and replace filenames, paths, or keywords as needed.
xzgrep "[pattern]" [file.xz]
Copy it and replace filenames, paths, or keywords as needed.
xzless [file.xz]
Copy it and replace filenames, paths, or keywords as needed.
xzmore [file.xz]
Copy it and replace filenames, paths, or keywords as needed.
yadm decrypt
Copy it and replace filenames, paths, or keywords as needed.
yadm encrypt
Copy it and replace filenames, paths, or keywords as needed.
zcat [file.gz]
Copy it and replace filenames, paths, or keywords as needed.
zcmp [file1.gz] [file2.gz]
Copy it and replace filenames, paths, or keywords as needed.
zdiff [file1.gz] [file2.gz]
Copy it and replace filenames, paths, or keywords as needed.
zegrep "[pattern]" [file.gz]
Copy it and replace filenames, paths, or keywords as needed.
zfgrep "[string]" [file.gz]
Copy it and replace filenames, paths, or keywords as needed.
zforce [path/to/file1 path/to/file2 ...]
Copy it and replace filenames, paths, or keywords as needed.
zgrep "[pattern]" [file.gz]
Copy it and replace filenames, paths, or keywords as needed.
zip [archive.zip] [file1] [file2]
Copy it and replace filenames, paths, or keywords as needed.
zip2john [archive.zip] > [hash.txt]
Uses pipes, overwrite, or deletion. Check paths and options first.
zipalign -P 16 -f -v 4 [input.apk] [output.apk]
Copy it and replace filenames, paths, or keywords as needed.
zipcloak [archive.zip]
Copy it and replace filenames, paths, or keywords as needed.
zipgrep [pattern] [archive.zip]
Copy it and replace filenames, paths, or keywords as needed.
zipinfo [archive.zip]
Copy it and replace filenames, paths, or keywords as needed.
zipnote [archive.zip]
Copy it and replace filenames, paths, or keywords as needed.
zipsplit [path/to/archive.zip]
Copy it and replace filenames, paths, or keywords as needed.
zless [file.gz]
Copy it and replace filenames, paths, or keywords as needed.
zlib-flate -compress < [input] > [output.zz]
Uses pipes, overwrite, or deletion. Check paths and options first.
zmore [file.gz]
Copy it and replace filenames, paths, or keywords as needed.