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/
复制后可按需替换文件名、目录或参数。
tar xzf archive.tar.gz
复制后可按需替换文件名、目录或参数。
tar cjf archive.tar.bz2 dir/
复制后可按需替换文件名、目录或参数。
a() { case $1 in *.tar.gz) tar xzf $1;; *.zip) unzip $1;; esac; }; a file
涉及管道、覆盖或删除,执行前请先确认路径和参数。
7z a [archive.7z] [files...]
复制后可按需替换文件名、目录或参数。
7za a [archive.7z] [files...]
复制后可按需替换文件名、目录或参数。
7zr a [archive.7z] [files...]
复制后可按需替换文件名、目录或参数。
aapt2 compile [path/to/resource.xml] -o [output_directory]
复制后可按需替换文件名、目录或参数。
aim [https://domain.com/file.tar.gz] .
复制后可按需替换文件名、目录或参数。
ali [http://host.xz]
复制后可按需替换文件名、目录或参数。
apptainer exec [container.sif] [command]
复制后可按需替换文件名、目录或参数。
apptainer shell [container.sif]
复制后可按需替换文件名、目录或参数。
sudo apt-clone clone [path/to/directory]
权限或系统影响较大,执行前请核对目标。
man apt-secure
复制后可按需替换文件名、目录或参数。
aptitude-create-state-bundle [bundle.tar.bz2]
复制后可按需替换文件名、目录或参数。
aptitude-run-state-bundle [bundle.tar.bz2]
复制后可按需替换文件名、目录或参数。
ar rcs [archive.a] [file1.o] [file2.o]
复制后可按需替换文件名、目录或参数。
arc a [archive.arc] [files]
复制后可按需替换文件名、目录或参数。
archivemount [path/to/archive] [path/to/mount_point]
权限或系统影响较大,执行前请核对目标。
aria2c [https://example.com/file.zip]
复制后可按需替换文件名、目录或参数。
ark -b [path/to/archive]
复制后可按需替换文件名、目录或参数。
asar pack [dir/] [output.asar]
复制后可按需替换文件名、目录或参数。
atool -x [archive.tar.gz]
复制后可按需替换文件名、目录或参数。
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]
复制后可按需替换文件名、目录或参数。
axel [https://example.com/file.zip]
复制后可按需替换文件名、目录或参数。
balena-etcher
复制后可按需替换文件名、目录或参数。
bar -if [input_file] -of [output_file]
复制后可按需替换文件名、目录或参数。
bdfr download [./output] --subreddit [Python] -L [10]
复制后可按需替换文件名、目录或参数。
bgpgrep [path/to/rib.mrt.gz] -subnet [192.0.2.0/24]
权限或系统影响较大,执行前请核对目标。
bgzip [file.vcf]
复制后可按需替换文件名、目录或参数。
bkp [path/to/file]
复制后可按需替换文件名、目录或参数。
brotli [file.txt]
复制后可按需替换文件名、目录或参数。
bsdiff [oldfile] [newfile] [patch.bsdiff]
复制后可按需替换文件名、目录或参数。
python -m build
复制后可按需替换文件名、目录或参数。
bun pm pack
复制后可按需替换文件名、目录或参数。
bunzip2 [file.txt.bz2]
复制后可按需替换文件名、目录或参数。
bzcat [file.txt.bz2]
复制后可按需替换文件名、目录或参数。
bzdiff [file1.bz2] [file2.bz2]
复制后可按需替换文件名、目录或参数。
bzegrep "[pattern]" [path/to/file.bz2]
复制后可按需替换文件名、目录或参数。
bzfgrep "[string]" [path/to/file.bz2]
复制后可按需替换文件名、目录或参数。
bzgrep ["pattern"] [file.bz2]
复制后可按需替换文件名、目录或参数。
bzip2 [file.txt]
复制后可按需替换文件名、目录或参数。
bzip2recover [damaged.bz2]
复制后可按需替换文件名、目录或参数。
bzip3 [file.txt]
复制后可按需替换文件名、目录或参数。
bzless [file.txt.bz2]
复制后可按需替换文件名、目录或参数。
bzmore [file.txt.bz2]
复制后可按需替换文件名、目录或参数。
caprover login
复制后可按需替换文件名、目录或参数。
cargo package
复制后可按需替换文件名、目录或参数。
cargo publish
复制后可按需替换文件名、目录或参数。
cheat [tar]
复制后可按需替换文件名、目录或参数。
ci [path/to/file]
复制后可按需替换文件名、目录或参数。
clamscan [path/to/file]
复制后可按需替换文件名、目录或参数。
compress path/to/file1 path/to/file2
复制后可按需替换文件名、目录或参数。
cpan [Module::Name]
复制后可按需替换文件名、目录或参数。
cpanm [Module::Name]
复制后可按需替换文件名、目录或参数。
find . -depth | cpio -o > [archive.cpio]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
crane append -b [base_image] -f [layer.tar.gz] -t [new_image:tag]
复制后可按需替换文件名、目录或参数。
crane export [image] [output.tar]
复制后可按需替换文件名、目录或参数。
crane pull [image:tag] [output.tar]
复制后可按需替换文件名、目录或参数。
crane push [image.tar] [registry/repo:tag]
复制后可按需替换文件名、目录或参数。
crane pull [registry/image:tag] [output.tar]
复制后可按需替换文件名、目录或参数。
crc32 [path/to/file]
复制后可按需替换文件名、目录或参数。
create-image -o [path/to/output.cpio]
复制后可按需替换文件名、目录或参数。
curl -O [https://example.com/file.zip]
需要网络或远程资源。
diffoscope [file1] [file2]
复制后可按需替换文件名、目录或参数。
dive [image:tag]
复制后可按需替换文件名、目录或参数。
docker cp [container]:[/path/to/file] [/local/path]
复制后可按需替换文件名、目录或参数。
docker image load -i [image.tar]
复制后可按需替换文件名、目录或参数。
docker image save -o [image.tar] [image]
复制后可按需替换文件名、目录或参数。
docker load -i [image.tar]
复制后可按需替换文件名、目录或参数。
docker save -o [image.tar] [image]
复制后可按需替换文件名、目录或参数。
dpkg-deb -I [path/to/file.deb]
复制后可按需替换文件名、目录或参数。
dtrx [archive.tar.gz]
复制后可按需替换文件名、目录或参数。
ect [image.png]
复制后可按需替换文件名、目录或参数。
eget [owner/repo]
复制后可按需替换文件名、目录或参数。
engrampa [path/to/archive1.tar] [path/to/archive2.tar]
复制后可按需替换文件名、目录或参数。
[path/to]/factorio --create [path/to/save_file.zip]
复制后可按需替换文件名、目录或参数。
fcrackzip [-b|--brute-force] [-l|--length] 4-8 [-c|--charset] aA1 [archive]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
ffsend upload [file.zip]
复制后可按需替换文件名、目录或参数。
file-roller
复制后可按需替换文件名、目录或参数。
sudo fsarchiver savefs [archive.fsa] [/dev/sda1]
权限或系统影响较大,执行前请核对目标。
cat [file.zip] | funzip > [output]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
gau [example.com]
复制后可按需替换文件名、目录或参数。
git archive-file
复制后可按需替换文件名、目录或参数。
git archive HEAD -o [archive.tar]
复制后可按需替换文件名、目录或参数。
git get-tar-commit-id < [archive.tar]
复制后可按需替换文件名、目录或参数。
git utimes
复制后可按需替换文件名、目录或参数。
git verify-pack .git/objects/pack/pack-hash.idx
复制后可按需替换文件名、目录或参数。
sudo gitlab-backup create
权限或系统影响较大,执行前请核对目标。
gpg-zip --symmetric --output [archive.gpg] [directory]
权限或系统影响较大,执行前请核对目标。
gsd-meta-manager
复制后可按需替换文件名、目录或参数。
gunzip [file.gz]
复制后可按需替换文件名、目录或参数。
gzip [file]
复制后可按需替换文件名、目录或参数。
haxelib install [library]
复制后可按需替换文件名、目录或参数。
ia download [item-name]
复制后可按需替换文件名、目录或参数。
sudo importctl pull-tar [URL] [name]
权限或系统影响较大,执行前请核对目标。
sudo installpkg [path/to/package.tgz]
权限或系统影响较大,执行前请核对目标。
instaloader [profile_name]
复制后可按需替换文件名、目录或参数。
jar cf [output.jar] [files...]
复制后可按需替换文件名、目录或参数。
jarsigner -keystore [keystore.jks] [app.jar] [alias]
复制后可按需替换文件名、目录或参数。
kioclient exec [url]
复制后可按需替换文件名、目录或参数。
kubectl cp [localfile] [pod-name]:[/path/in/container]
复制后可按需替换文件名、目录或参数。
lbzip2 [file]
复制后可按需替换文件名、目录或参数。
localedef --list-archive
复制后可按需替换文件名、目录或参数。
lrzip [path/to/file]
复制后可按需替换文件名、目录或参数。
lrztar [path/to/directory]
复制后可按需替换文件名、目录或参数。
lrzuntar [archive.tar.lrz]
复制后可按需替换文件名、目录或参数。
lsar [archive.zip]
复制后可按需替换文件名、目录或参数。
ludusavi backup
复制后可按需替换文件名、目录或参数。
lure install [package]
复制后可按需替换文件名、目录或参数。
lvmdump
复制后可按需替换文件名、目录或参数。
lz [path/to/file.tar.gz]
复制后可按需替换文件名、目录或参数。
lzcat [file.lz]
复制后可按需替换文件名、目录或参数。
lzcmp [file1.xz] [file2.xz]
复制后可按需替换文件名、目录或参数。
lzfgrep [string] [file.lz]
复制后可按需替换文件名、目录或参数。
lzip [file]
复制后可按需替换文件名、目录或参数。
lzma [file]
复制后可按需替换文件名、目录或参数。
mat2 [file.jpg]
复制后可按需替换文件名、目录或参数。
mc
复制后可按需替换文件名、目录或参数。
mc
复制后可按需替换文件名、目录或参数。
mkosi summary
复制后可按需替换文件名、目录或参数。
mongodump --db [database]
复制后可按需替换文件名、目录或参数。
mysqldump -u [user] -p [database] > [backup.sql]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
list functions;
涉及管道、覆盖或删除,执行前请先确认路径和参数。
odpscmd resource list
复制后可按需替换文件名、目录或参数。
ouch compress [file1] [file2] [archive.tar.gz]
复制后可按需替换文件名、目录或参数。
ov [path/to/file]
复制后可按需替换文件名、目录或参数。
7z x [archive.7z]
复制后可按需替换文件名、目录或参数。
tldr pacman upgrade
复制后可按需替换文件名、目录或参数。
sudo pacman -U path/to/package.pkg.tar.zst
权限或系统影响较大,执行前请核对目标。
par2 create [backup.par2] [files]
复制后可按需替换文件名、目录或参数。
parallel [gzip] ::: [*.txt]
复制后可按需替换文件名、目录或参数。
paramspider -d [example.com]
复制后可按需替换文件名、目录或参数。
patool extract [path/to/archive]
复制后可按需替换文件名、目录或参数。
pax -wf [archive.pax] [directory]
复制后可按需替换文件名、目录或参数。
pbzip2 [file]
复制后可按需替换文件名、目录或参数。
pct create 100 local:vztmpl/distro.tar.zst --rootfs local-lvm:4
复制后可按需替换文件名、目录或参数。
pct restore [VMID] [/path/to/backup.tar.zst]
复制后可按需替换文件名、目录或参数。
perl [script.pl]
复制后可按需替换文件名、目录或参数。
pg_archivecleanup [archive_dir] [oldest_kept_wal]
复制后可按需替换文件名、目录或参数。
pg_dump [database_name] > [backup.sql]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
pg_receivewal -D [wal_dir] -h [host] -U [username]
复制后可按需替换文件名、目录或参数。
pg_restore -d [database] [backup.dump]
复制后可按需替换文件名、目录或参数。
pgbackrest --stanza=[name] stanza-create
复制后可按需替换文件名、目录或参数。
phar add -f [path/to/archive.phar] [files...]
权限或系统影响较大,执行前请核对目标。
phing
复制后可按需替换文件名、目录或参数。
pigz [file]
复制后可按需替换文件名、目录或参数。
openssl pkcs12 -export -out [cert.p12] -inkey [key.pem] -in [cert.pem]
复制后可按需替换文件名、目录或参数。
pkgadd [package]
权限或系统影响较大,执行前请核对目标。
makepkg
复制后可按需替换文件名、目录或参数。
pkgctl diff -l path/to/file
复制后可按需替换文件名、目录或参数。
pkgmk -d
复制后可按需替换文件名、目录或参数。
pkgutil --pkgs
复制后可按需替换文件名、目录或参数。
podman export [container] -o [container.tar]
复制后可按需替换文件名、目录或参数。
podman image load -i [image.tar]
复制后可按需替换文件名、目录或参数。
podman import [file.tar] [image:tag]
复制后可按需替换文件名、目录或参数。
podman load -i [image.tar]
复制后可按需替换文件名、目录或参数。
podman save -o [image.tar] [image:tag]
复制后可按需替换文件名、目录或参数。
portal send [file1] [file2] [folder1]
复制后可按需替换文件名、目录或参数。
progress
复制后可按需替换文件名、目录或参数。
ptargrep "[pattern]" [archive.tar.gz]
复制后可按需替换文件名、目录或参数。
ranger
复制后可按需替换文件名、目录或参数。
ranlib [libfoo.a]
复制后可按需替换文件名、目录或参数。
rar a [archive.rar] [files]
复制后可按需替换文件名、目录或参数。
rar2john [archive.rar] > [hash.txt]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
rarcrack [archive.rar]
复制后可按需替换文件名、目录或参数。
rauc bundle --cert=[cert.pem] --key=[key.pem] [content_dir/] [update.raucb]
复制后可按需替换文件名、目录或参数。
tldr restore
复制后可按需替换文件名、目录或参数。
repo-add path/to/database.db.tar.gz
权限或系统影响较大,执行前请核对目标。
repo-remove [path/to/database.db.tar.gz] [package_name]
复制后可按需替换文件名、目录或参数。
rga [pattern]
复制后可按需替换文件名、目录或参数。
rig
复制后可按需替换文件名、目录或参数。
rpm2cpio [path/to/file.rpm] > [file.cpio]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
rpmbuild -ba path/to/spec_file
复制后可按需替换文件名、目录或参数。
rsync -av [source/] [destination/]
需要网络或远程资源。
rzip [file]
复制后可按需替换文件名、目录或参数。
sbopkg -r
复制后可按需替换文件名、目录或参数。
sbuild [package.dsc]
复制后可按需替换文件名、目录或参数。
searchsploit [apache] [struts]
复制后可按需替换文件名、目录或参数。
shar -V [path/to/file1] [path/to/file2] > [archive.sh]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
shot-scraper [https://example.com]
复制后可按需替换文件名、目录或参数。
smbclient //[server]/[share]
复制后可按需替换文件名、目录或参数。
sqfscat [filesystem.squashfs] [file1] [file2]
复制后可按需替换文件名、目录或参数。
sqfstar < [archive.tar] [filesystem.squashfs]
复制后可按需替换文件名、目录或参数。
sudo steamos-dump-info
权限或系统影响较大,执行前请核对目标。
strip-nondeterminism [file]
复制后可按需替换文件名、目录或参数。
tar -cvf [archive.tar] [file1] [file2]
复制后可按需替换文件名、目录或参数。
tarsnap -c -f [backup-name] [/path/to/backup]
复制后可按需替换文件名、目录或参数。
todo.sh add "[task text]"
权限或系统影响较大,执行前请核对目标。
twine upload dist/*
复制后可按需替换文件名、目录或参数。
ugrep "[pattern]" [file]
复制后可按需替换文件名、目录或参数。
unar [archive.zip]
复制后可按需替换文件名、目录或参数。
uncompress [path/to/file1.Z] [path/to/file2.Z]
复制后可按需替换文件名、目录或参数。
unlzma [file.lzma]
复制后可按需替换文件名、目录或参数。
unp [archive.tar.gz]
复制后可按需替换文件名、目录或参数。
unrar x [archive.rar]
复制后可按需替换文件名、目录或参数。
unshar [archive.shar]
复制后可按需替换文件名、目录或参数。
unxz [file.xz]
复制后可按需替换文件名、目录或参数。
unzip [archive.zip]
复制后可按需替换文件名、目录或参数。
unzipsfx
复制后可按需替换文件名、目录或参数。
unzstd [file.zst]
复制后可按需替换文件名、目录或参数。
vaen validate
复制后可按需替换文件名、目录或参数。
vboxmanage export [vmname] -o [file.ova]
复制后可按需替换文件名、目录或参数。
warp-diag
复制后可按需替换文件名、目录或参数。
echo "[example.com]" | waybackurls
涉及管道、覆盖或删除,执行前请先确认路径和参数。
waymore -i [example.com]
复制后可按需替换文件名、目录或参数。
wcurl [https://example.com/file.zip]
需要网络或远程资源。
web-ext run
复制后可按需替换文件名、目录或参数。
wget2 [https://example.com/file.zip]
需要网络或远程资源。
xar -cf [archive.xar] [files]
复制后可按需替换文件名、目录或参数。
xcodebuild
复制后可按需替换文件名、目录或参数。
xz [file]
复制后可按需替换文件名、目录或参数。
xzcat [file.xz]
复制后可按需替换文件名、目录或参数。
xzcmp [file1.xz] [file2.xz]
复制后可按需替换文件名、目录或参数。
xzdiff [file1.xz] [file2.xz]
复制后可按需替换文件名、目录或参数。
xzegrep "[pattern]" [file.xz]
复制后可按需替换文件名、目录或参数。
xzfgrep "[string]" [file.xz]
复制后可按需替换文件名、目录或参数。
xzgrep "[pattern]" [file.xz]
复制后可按需替换文件名、目录或参数。
xzless [file.xz]
复制后可按需替换文件名、目录或参数。
xzmore [file.xz]
复制后可按需替换文件名、目录或参数。
yadm decrypt
复制后可按需替换文件名、目录或参数。
yadm encrypt
复制后可按需替换文件名、目录或参数。
zcat [file.gz]
复制后可按需替换文件名、目录或参数。
zcmp [file1.gz] [file2.gz]
复制后可按需替换文件名、目录或参数。
zdiff [file1.gz] [file2.gz]
复制后可按需替换文件名、目录或参数。
zegrep "[pattern]" [file.gz]
复制后可按需替换文件名、目录或参数。
zfgrep "[string]" [file.gz]
复制后可按需替换文件名、目录或参数。
zforce [path/to/file1 path/to/file2 ...]
复制后可按需替换文件名、目录或参数。
zgrep "[pattern]" [file.gz]
复制后可按需替换文件名、目录或参数。
zip [archive.zip] [file1] [file2]
复制后可按需替换文件名、目录或参数。
zip2john [archive.zip] > [hash.txt]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
zipalign -P 16 -f -v 4 [input.apk] [output.apk]
复制后可按需替换文件名、目录或参数。
zipcloak [archive.zip]
复制后可按需替换文件名、目录或参数。
zipgrep [pattern] [archive.zip]
复制后可按需替换文件名、目录或参数。
zipinfo [archive.zip]
复制后可按需替换文件名、目录或参数。
zipnote [archive.zip]
复制后可按需替换文件名、目录或参数。
zipsplit [path/to/archive.zip]
复制后可按需替换文件名、目录或参数。
zless [file.gz]
复制后可按需替换文件名、目录或参数。
zlib-flate -compress < [input] > [output.zz]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
zmore [file.gz]
复制后可按需替换文件名、目录或参数。