agentbox
Manage AgentBox cloud sandboxes and templates from the terminal
npm install -g agentbox-cli
Linux basics
399 Backup & Imaging Linux command examples grouped into 88 practical sections.
Browse grouped command cards or search directly below.
223 commands
Manage AgentBox cloud sandboxes and templates from the terminal
npm install -g agentbox-cli
Interactively browse and restore Amanda backups
amrecover [config_name]
Display image sequences as animations
animate [image1.png] [image2.png] [image3.png]
Manage the local Apptainer container cache
apptainer cache list
Upload container images to remote registries.
apptainer push [path/to/image.sif] library://[user/collection/container]:[tag]
Backup and restore installed package states
sudo apt-clone clone [path/to/directory]
Convert images to ASCII art
asciiart [path/to/image.jpg]
Manipulate extended attributes on filesystem objects
attr -s [attribute_name] -V [value] [path/to/file]
Animated Wayland wallpaper manager
awww img [path/to/image]
Next-generation copy-on-write filesystem tools
sudo bcachefs format [path/to/partition]
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]
Build custom immutable Linux images
bluebuild build [recipe.yml]
Transactional OS updates using container images
bootc status
Manage btrfs copy-on-write filesystems
sudo btrfs subvolume create path/to/subvolume
Console front-end for burning Data, Audio, ISO and copy CDs
burn -D -p [path/to/dir]
terminal image viewer using character art
chafa [image.png]
Wayland clipboard history manager
cliphist list
automated login to Cisco network devices
clogin [hostname]
node-based workflow system for Stable Diffusion
python [main.py]
open files using mailcap-configured editors
compose [filename]
create isolated conda environments
conda create --name [env_name] python=[3.11]
container image analysis and comparison
container-diff analyze [image:tag]
industry-standard container runtime daemon
sudo containerd
image manipulation and format conversion
convert [input.png] [output.jpg]
List tags in a container image repository
crane ls [registry/repository]
upload tarball as container image
crane push [image.tar] [registry/repo:tag]
CPIO firmware image creator
create-image -o [path/to/output.cpio]
CRI-compatible container runtime CLI
crictl ps
Checkpoint and restore running processes in userspace
criu check
Google WebP image encoder
cwebp [input.png] -o [output.webp]
display or set the system date and time
date
command-line interface for Dropbox cloud storage
dbx auth login
universal RAW camera image decoder
dcraw [image.raw]
Convert and copy files at the block level
sudo dd if=[path/to/file.iso] of=[/dev/usb_drive] status=progress
data recovery tool for failing drives
sudo ddrescue [/dev/sdb] [path/to/image.dd] [path/to/log.txt]
199 commands
grep-like source code search tool for programmers
ack [pattern]
Detect file system changes for intrusion detection
sudo aide -i
Run Amanda backups
amdump [config_name]
Interact with Claude AI from the command line
anthropic -g user "Hello, Claude!"
Build Apptainer container images from definition files or remote sources.
apptainer build [path/to/image.sif] [path/to/definition.def]
Display metadata from container images.
apptainer inspect [path/to/image.sif]
Create and manage writable overlay filesystems for containers.
apptainer overlay create -s [size] [path/to/image.sif]
Download container images from remote registries.
apptainer pull [path/to/image.sif] docker://[image]:[tag]
Create and manage Android Virtual Devices
avdmanager list target
Decode AVIF images to standard formats
avifdec [input.avif] [output.png]
Encode images into AVIF format
avifenc [path/to/input.png] [path/to/output.avif]
Snapshot-based API load testing tool
ballast
Tetris clone that gives you the worst possible pieces
bastet
Cat clone with syntax highlighting and Git integration
bat [file.js]
Debian/Ubuntu name for the bat file viewer
batcat
Convert Bio-Rad confocal microscope images to PGM format
bioradtopgm [bioradfile.pic] > [output.pgm]
Convert BMP images to PNM format
bmptopnm [image.bmp] > [output.pnm]
Convert BMP images to PPM format
bmptoppm [image.bmp] > [output.ppm]
Convert deskjet brush files to PBM images
brushtopbm [brushfile] > [output.pbm]
Generate a stream of btrfs subvolume changes for backup and replication
btrfs send [/path/to/snapshot]
Build OCI and Docker container images without a daemon
buildah build -t [myimage] [.]
High-performance digital forensics data extraction tool
bulk_extractor -o [output_dir] [image.dd]
Git-based backup system with deduplication
bup init
Compress executables into self-extracting archives
bzexe [path/to/executable]
Write disk images to USB drives safely
caligula burn [path/to/image.iso]
Generate beautiful images of source code
carbon-now [file.js]
Perl module dependency manager
carton install
display images in the terminal using Unicode characters
catimg [image.png]
convert images to AVIF format
cavif [path/to/image.png]
disc-at-once CD recording and reading
cdrdao read-cd --device [/dev/cdrom] --read-raw [image.toc]
MAME Compressed Hunks of Data manager
chdman info -i [path/to/image.chd]
JPEG image compressor
cjpeg [image.bmp] > [output.jpg]
JPEG XL image encoder
cjxl [input.png] [output.jxl]
Amazon Route 53 DNS management tool
cli53 list
Create a child process with fine-grained resource sharing
clone(child_func, stack_top, CLONE_NEWNS | SIGCHLD, arg)
combine images with blending and compositing operations
composite [overlay.png] [background.png] [output.png]
80 commands
Delete container images from a remote library.
apptainer delete library://[user/collection/container]:[tag]
Manage stack configurations for apx subsystems
apx stacks new
Convert ASCII text to PPM color image
asciitoppm < [ascii.txt] > [output.ppm]
Centrally manage backups across AWS services
aws backup create-backup-vault --backup-vault-name [vault_name]
Read change data capture records from DynamoDB tables.
aws dynamodbstreams list-streams --table-name [table_name]
Convert BIN/CUE CD images to ISO and audio tracks
bchunk [path/to/image.bin] [path/to/image.cue] [path/to/output]
Customizable lock screen using i3lock
betterlockscreen -l
Switch the base OS to a different container image
sudo bootc switch [image]
Deduplicating backup with compression and encryption
borg init --encryption=[repokey] [/path/to/repo]
Deduplicating backup with compression and encryption
borg init --encryption=repokey [/path/to/repo]
burn data to CD, DVD, and Blu-ray discs
cdrecord -v dev=[/dev/sr0] [image.iso]
remove container images from a registry
crane delete [registry.example.com/repo:tag]
replace base layers of an image
crane rebase [image:tag] --old_base [old:base] --new_base [new:base] -t [rebased:tag]
add tag alias to existing image
crane tag [image:existing] [new_tag]
CLI for managing CubeSandbox templates and sandboxes
cubemastercli tpl create-from-image --image [registry/image:tag]
reset dconf keys to default values
dconf reset /[path/to/key]
GNOME configuration database management tool
dconf read /[path/to/key]
Data Matrix barcode decoder
dmtxread [image.png]
create image from container changes
docker commit [container_id] [image_name:tag]
display resource usage statistics for containers
docker container stats
Inspect changes to files or directories on a container's filesystem
docker diff [container_name]
Tag Docker images with repository and version identifiers
docker image tag [source_image]:[tag] [target_image]:[version]
list Docker images stored locally
docker images
return low-level information on Docker objects
docker inspect [container]
list Docker containers and their status
docker ps
search Docker Hub for container images
docker search [term]
optimize and reduce Docker image sizes
docker-slim build [image]
create tags for Docker images
docker tag [source_image] [target_image]:[tag]
Canonical Data Science Stack CLI for Kubernetes notebooks
dss initialize --kubeconfig "$(sudo k8s config)"
Environment snapshot and diff tool
envdiff capture
EXIF metadata viewer and editor
exif [path/to/image.jpg]
fast Wayland terminal emulator
foot
Usenix FaceSaver to PGM converter
fstopgm < [input.fs] > [output.pgm]
Convert GIF images to PNM format
giftopnm [input.gif] > [output.pnm]
Display GIF images and animations in an X11 window
gifview [image.gif]
Download objects and refs from remote repositories
git fetch
76 commands
Display image sequences as animations (ImageMagick 6)
animate.im6 [image1.png] [image2.png]
Convert ASCII art to PGM grayscale image
asciitopgm [width] [height] < [ascii.txt] > [output.pgm]
Manage tables and items in Amazon DynamoDB.
aws dynamodb create-table --table-name [my-table] --attribute-definitions AttributeName=id,AttributeType=S --key-schema AttributeName=id,KeyType=HASH --billing-mode PAY_PER_REQUEST
Manage Docker container image repositories on AWS.
aws ecr get-login-password | docker login --username AWS --password-stdin [account-id].dkr.ecr.[region].amazonaws.com
Manage custom virtual machine images in Azure
az image create --name [MyImage] --resource-group [MyResourceGroup] --source [MyVM]
Flash disk images efficiently using block maps
sudo bmaptool copy [image.img] [/dev/sdX]
disk cloning and imaging solution
clonezilla
combine images using ImageMagick 6
composite.im6 [overlay.png] [background.png] [output.png]
ImageMagick MSL script interpreter
conjure.im6 [script.msl]
retrieve container image configuration
crane config [image]
Containerd command-line client
ctr containers list
forensic disk imaging tool with hashing
dcfldd if=[/dev/sda] of=[disk.img]
Epson ESC/P2 to PBM format converter
escp2topbm < [input.escp2] > [output.pbm]
Encoder YUV to PPM converter
eyuvtoppm -w [width] -h [height] < [input.eyuv] > [output.ppm]
wavelet compression to PNM converter
fiascotopnm [input.fiasco] > [output.pnm]
framebuffer and terminal image viewer
fim [image.jpg]
convert astronomical FITS images to PNM
fitstopnm [input.fits] > [output.pnm]
filesystem backup and restore tool
sudo fsarchiver savefs [archive.fsa] [/dev/sda1]
image gallery downloader for multiple sites
gallery-dl [https://example.com/gallery]
React-based static site generator
gatsby new [site-name]
convert GEM IMG format to PBM
gemtopbm [input.img] > [output.pbm]
Manage GitHub repositories from the command line
gh repo clone [owner]/[repo]
captures screenshots from iOS devices
idevicescreenshot [screenshot.tiff]
converts JPEG images to ASCII art
jp2a [image.jpg]
CLI for Keycloak, an open-source identity and access management
kc.sh start-dev
creates device mapper entries for the partitions within a disk image or block
kpartx -av [whole_disk.img]
terminal UI for managing Docker containers, images, volumes, and networks
lazydocker
backs up and restores video game save data
ludusavi backup
high-performance JDK with ahead-of-time native compilation and polyglot support
native-image -jar [app.jar]
Ncurses-based TUI for QEMU virtual machine management
nemu
tests whether the system is running on AC power
on_ac_power && echo "AC" || echo "Battery"
visualizes the dependency relationships between installed packages
pacgraph
converts Palm Pilot image format to PNM
palmtopnm [input.palm] > [output.pnm]
performs arithmetic operations on two PAM/PNM images
pamarith -add [image1.pam] [image2.pam] > [result.pam]
extracts a rectangular region from a PAM or PNM image
pamcut [x] [y] [width] [height] [input.pam] > [output.pam]
extracts one field from an interlaced video frame, producing a half-height image
pamdeinterlace -takeodd=false [input.pam] > [output.pam]
50 commands
Useful Linux one-liner
cp file{,.bak}
Mock infrastructure for AI application testing
npx aimock -p [4010] -f [./fixtures]
Build, run, and manage application containers for HPC
apptainer pull [path/to/image.sif] docker://[image]:[tag]
wrap an ARM ELF printer firmware image with HP download header/trailer
arm2hpdl [sihp1005.img] > [sihp1005.dl]
Transform images into ASCII art for terminal display
ascii-image-converter [image.png]
Manage Azure Marketplace terms acceptance
az term accept --publisher [publisher] --product [product] --plan [plan]
Flash OS images to SD cards and USB drives
balena-etcher
Container image signing and verification tool
cosign sign [registry/image@sha256:digest]
Alias for crane copy
crane cp [source_image] [destination_image]
add images to manifest index
crane index append -t [index:tag] -m [image:tag]
Filter platforms from a container image manifest index
crane index filter [image] --platform linux/amd64
manage multi-platform image indexes
crane index --help
retrieve container image manifest
crane manifest [image:tag]
remove one or more containers
docker container remove [container]
Download images from a registry
docker image pull [image]
remove one or more images
docker image rm [image]
manage containerized services in Docker Swarm
docker service create --name [name] [image]
container platform for application deployment
docker run [image]
lock-free cloud backup with deduplication
duplicacy init [snapshot_id] [/path/to/storage]
copies container images between registries
gcrane copy [source_image] [dest_image]
File descriptor transport helper for Git
git clone "fd::[fd-in],[fd-out]"
Copy files to a remote via rsync
git rscp [remote] [files]
Backup tool for databases and files
gobackup perform
self-hosted photo and video backup solution
docker compose up -d
lightweight image viewer for Wayland and X11, designed for use with tiling
imv [path/to/image1] [path/to/image2]
XScreenSaver hack that animates a jigsaw puzzle solving itself
jigsaw -root
Build and deploy Go container images without a Dockerfile
ko build [./cmd/app]
lists cluster events
kubectl events
Screenshot, screencast, and image operations on the command line
menyoki capture png save
A jq-like command-line tool for querying and transforming Markdown files
mq '.h' [path/to/file.md]
decode an OAKT printer stream into human readable form
oakdecode < [file.prn]
open Babel command-line tool for converting between molecular file formats
obabel [path/to/file.mol] -O [path/to/output_file.xyz]
HashiCorp's tool for creating machine images across multiple platforms
packer build [template.pkr.hcl]
Portable Bitmap (PBM) image file format
pnmfile [image.pbm]
Render images in terminal using ANSI colors
pixterm [image.png]
Portable Anymap image format family
pnmfile [image.pnm]
38 commands
Useful Linux one-liner
dd if=iso.iso of=/dev/sdX bs=4M status=progress
Useful Linux one-liner
dd if=/dev/zero of=test bs=1G count=1 oflag=dsync
Verify Amanda backup configuration before a run
amcheck [config_name]
2FA TOTP token manager TUI for the terminal
andcli -t aegis [path/to/backup.json]
Analyze cloud cost and usage data.
aws ce get-cost-and-usage --time-period Start=[YYYY-MM-DD],End=[YYYY-MM-DD] --granularity MONTHLY --metrics "BlendedCost" --group-by Type=DIMENSION,Key=SERVICE
Manage virtual servers and networking on Amazon EC2.
aws ec2 run-instances --image-id [ami-0c55b159cbfafe1f0] --instance-type [t2.micro] --key-name [my-key]
Distributed version control system
bk clone [bk://server/repository]
explore Docker image contents and layer efficiency
dive [image:tag]
image metadata reader and editor for Exif, IPTC, and XMP
exiv2 [image.jpg]
screenshot tool with annotation capabilities
flameshot full
image mosaicing, reprojection, and warping utility
gdalwarp -t_srs [EPSG:4326] [input.tif] [output.tif]
decodes HP Business Inkjet Printer Language files
hbpldecode [input.hbp]
sends L2CAP echo requests to a Bluetooth device, similar to ping for IP networks
l2ping [AA:BB:CC:DD:EE:FF]
synchronizes Limine bootloader menu entries with Btrfs snapshots
limine-snapper-sync
converts MicroDesign Area format to PBM
mdatopbm [input.mda] > [output.pbm]
steganography tool that hides data in JPEG images
outguess -d [secret.txt] [cover.jpg] [output.jpg]
captures screenshots of websites at specified viewport sizes
pageres [https://example.com]
runs a specified shell command on each image in a multi-image PAM stream
pamexec "[pnmflip -lr]" [input.pam] > [output.pam]
repairs corrupted Netpbm images
pamfix -clip [corrupted.pam] > [fixed.pam]
Edge-enhance a PGM grayscale image
pgmenhance [input.pgm] > [output.pgm]
Command-line interface for Plesk hosting panel
plesk version
Flip and rotate PNM images
pnmflip -lr [input.pnm] > [output.pnm]
Equalize histogram of PNM images
pnmhisteq [input.pnm] > [output.pnm]
Rotate PNM images by an arbitrary angle
pnmrotate [45] [input.pnm] > [output.pnm]
Adjust PPM image brightness and saturation
ppmbrighten -v [50] [input.ppm] > [output.ppm]
Report running process status
ps aux
Create and manage QEMU disk images
qemu-img create -f [qcow2] [disk.qcow2] [20G]
Permanently remove a Proxmox virtual machine
qm destroy 100
Batch process RAW photos from the command line
rawtherapee-cli -o [output.jpg] -c [input.raw]
Convert raw RGB data to PPM format
rawtoppm [width] [height] [input.raw] > [output.ppm]
Fast and secure deduplicated backup tool
restic -r [/path/to/repo] init
Scan images from SANE-compatible scanners
scanimage -L
Container image operations without runtime
skopeo copy docker://[source-image] docker://[dest-image]
Subversion repository administration tool
svnadmin create [/path/to/repo]
Batch convert camera RAW photos
ufraw-batch --out-type=jpeg [image.raw]
Capture still images from UVC webcams
uvccapture
25 commands
Manage Azure Container Registries
az acr create -n [registry-name] -g [resource-group] --sku [Standard]
Manage Azure Container Instances
az container create -g [resource-group] --name [container-name] --image [image:tag] --cpu [1] --memory [1]
Backup tool for btrfs snapshots and subvolumes
sudo btrbk stats
capture framebuffer screenshots to PNG
fbgrab [screenshot.png]
exFAT filesystem check and repair
fsck.exfat [/dev/sdXN]
displays backup information
gcloud sql backups describe [backup_id] --instance [instance_name]
Bidirectional bridge between Git and Subversion
git svn clone [svn://server/repo]
Lightweight image viewer for LXDE
gpicview [image.jpg]
Grap graph to image converter
grap2graph [file.grap] > output.png
command-line tool for backing up and restoring Gmail
gyb --email [user@gmail.com] --action backup
creates and restores backups of iOS devices
idevicebackup backup [backup-dir]
creates and restores backups of iOS devices running iOS 4 and later
idevicebackup2 backup [backup-dir]
command-line system information tool with ASCII art
neofetch
converts PBM bitmaps to Epson printer control codes for direct printing
pbmtoepson [input.pbm] | lpr
converts PBM bitmaps to GraphOn terminal graphics format
pbmtogo [input.pbm] > [output.go]
Convert PBM bitmaps to MGR window system format
pbmtomgr [input.pbm] > [output.mgr]
converts a PGM grayscale image to a PPM color image
pgmtoppm [color] [input.pgm] > [output.ppm]
List containers and their status
podman ps
Fast encrypted deduplicated backup tool
rustic init
Manage TigerGraph Cloud instances
tgcloud login
Backup TeX Live packages
tlmgr backup [package]
Backup LVM volume group metadata
sudo vgcfgbackup
Convert XPM pixmaps to PPM format
xpmtoppm [input.xpm] > [output.ppm]
Lightweight X11 wallpaper setter
xwallpaper --center [image.jpg]
Read barcodes from image files
zbarimg [image.png]
21 commands
Useful Linux one-liner
convert input.jpg output.png
Convert any image format to PNM (Netpbm)
anytopnm [input.jpg] > [output.pnm]
image difference detection and comparison
compare [image1.png] [image2.png] [diff.png]
ImageMagick 6 version of identify
identify.im6 [image.jpg]
describes image format and characteristics
identify [image.jpg]
ImageMagick 6 version of the import screen capture tool
import.im6 screenshot.png
Convert a standalone VDO volume into an LVM-managed VDO logical volume
lvm_import_vdo [/dev/mapper/vdo_volume]
Primary command for ImageMagick 7+, replacing convert, mogrify, and identify
magick [input.png] [output.jpg]
Convert PNG images to PAM format
pngtopam [input.png] > [output.pam]
Convert PNG images to PNM format
pngtopnm [input.png] > [output.pnm]
Convert PNM images to Palm image format
pnmtopalm [input.pnm] > [output.palm]
Convert PNM to plain ASCII format (obsolete)
pnmtoplainpnm [input.pnm] > [output.pnm]
Convert PNM to SGI image format
pnmtosgi [input.pnm] > [output.rgb]
Convert PNM to Solitaire recorder format
pnmtosir [input.pnm] > [output.sir]
Convert PPM images to BMP format
ppmtobmp [input.ppm] > [output.bmp]
Convert PPM to X puzzle image format
ppmtopuzz [input.ppm] > [output.puzz]
Convert PostScript image data to PGM
psidtopgm [width] [height] [bits] [input.ps] > [output.pgm]
Convert QRT ray tracer output to PPM
qrttoppm [input.qrt] > [output.ppm]
Convert SGI images to PNM format
sgitopnm [input.rgb] > [output.pnm]
Self-hosted media organizer and metadata server
stash
Convert pixel art to SVG vectors
vectorize-pixelart [input.png] [output.svg]
12 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]
CLI for managing development containers
devcontainer build --workspace-folder [.]
list all Distrobox containers
distrobox-list
create image from container state
docker container commit [container] [image:tag]
show container filesystem changes
docker container diff [container]
manages IBM Cloud Container Registry
ibmcloud cr login
updates resource fields
kubectl set image deployment/[name] [container]=[image:tag]
Manage container images in Podman
podman image list
List locally stored container images
podman images
Pull container images from registries
podman pull [image:tag]
Terminal user interface for Docker containers
sen
11 commands
Glance at the last 3 runs of your GitHub Actions
act3
Administrative interface for Amanda backup management
amadmin [config_name] config
export flattened image filesystem
crane export [image] [output.tar]
squash container layers into one
crane flatten [image] -t [flattened:tag]
command-line webcam image capture
fswebcam [image.jpg]
Fork GitHub repository and clone locally
git fork [https://github.com/owner/repo]
Distributed version control system for tracking code changes
git clone [https://github.com/owner/repo.git]
vulnerability scanner for container images and filesystems
grype [image:tag]
Create an index image for a Kodak Photo CD
pcdovtoppm [overview.pcd] > [index.ppm]
synchronize a PostgreSQL data directory with another copy
pg_rewind -D [target_dir] --source-server="host=[host] user=[rewind_user] dbname=[postgres]"
Convert X11 or X10 bitmap to PBM format
xbmtopbm [input.xbm] > [output.pbm]
9 commands
Manage btrfs subvolumes and snapshots
sudo btrfs subvolume create path/to/new_subvolume
manages kernel images in the boot partition
sudo kernel-install add [kernel-version] [kernel-image] [path/to/initrd]
creates Pop Art style image
pampop9 [input.pam] > [output.pam]
validates PAM/PNM image files
pamvalidate [input.pam]
Combine multiple images into a montage
pnmmontage [image1.pnm] [image2.pnm] [image3.pnm] > [montage.pnm]
Automate Kubernetes development workflows
skaffold init
Clear Linux software update and bundle manager
sudo swupd update
Simple lightweight X11 image viewer
sxiv path/to/image
ZFS event monitoring daemon
sudo zed -F
8 commands
Useful Linux one-liner
tar czf backup.tar.gz directory/
load Docker images from tar archives
docker load -i [image.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]
builds customized, modern Linux OS images
mkosi summary
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]
5 commands
Useful Linux one-liner
rsync -ah --progress src dest
manage DigitalOcean Droplet virtual machines
doctl compute droplet list
encrypted bandwidth-efficient backup tool
duplicity [/path/to/source] [sftp://user@host/backup]
Manage Arch Linux Git packaging repositories
pkgctl repo clone [pkgname]
Prepare VM images for cloning
virt-sysprep --list-operations
4 commands
add layers to container images
crane append -b [base_image] -f [layer.tar.gz] -t [new_image:tag]
retrieve blobs from container images
crane blob [image]@[digest]
modify image metadata without rebuilding
crane mutate [image] --label [key=value] -t [new:tag]
verify container image structure
crane validate --remote [image:tag]
4 commands
3 commands
3 commands
Search a container library for available images.
apptainer search [query]
Cryptographically sign SIF container images
apptainer sign [path/to/image.sif]
Verify cryptographic signatures on container images
apptainer verify [path/to/image.sif]
2 commands
2 commands
2 commands
create local copy of remote database repository
dolt clone [owner/repo]
SQL database with Git-like version control
dolt init
2 commands
Initialize a repo and commit all existing files
git setup
Show repository summary with contribution statistics
git summary
2 commands
compares two images and outputs their differences
magick compare [image1.png] [image2.png] [diff.png]
captures screenshots from X11 displays
magick import [screenshot.png]
2 commands
creates a copy of an existing Proxmox LXC container
pct clone [template_id] [new_id]
creates a new LXC container in Proxmox VE from a template image
pct create 100 local:vztmpl/distro.tar.zst --rootfs local-lvm:4
2 commands
Clone VirtualBox virtual machines
vboxmanage clonevm [vmname] --name [newname]
VirtualBox command-line management interface
vboxmanage list vms
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
dm-crypt and LUKS encrypted volume manager
cryptsetup luksFormat /dev/sda1
1 commands
Useful Linux one-liner
dd if=/dev/urandom of=/dev/sdX
1 commands
create Distrobox containers from Linux distribution images
distrobox-create [container_name] -i [ubuntu:latest]
1 commands
ebook metadata editor
ebook-meta [book.epub]
1 commands
1 commands
Exoscale persistent block storage volume management
exo compute block-storage list --zone [ch-gva-2]
1 commands
1 commands
converts and transforms raster data
gdal_translate [input.tif] [output.png]
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
administers Neo4j databases
neo4j-admin database dump --to-path=[/backups] [neo4j]
1 commands
1 commands
Mix adjacent lines to reduce interlacing artifacts in video frames
pammixinterlace [input.pam] > [output.pam]
1 commands
1 commands
converts PAM/PNM images to XV visual schnauzer thumbnail format
pamtoxvmini [input.pam] > [output.xv]
1 commands
1 commands
1 commands
creates a base backup of a PostgreSQL cluster
pg_basebackup -D [backup_dir] -h [host] -U [user]
1 commands
1 commands
extracts all PostgreSQL databases including cluster-wide objects like roles
pg_dumpall > [backup.sql]
1 commands
1 commands
1 commands
calculates Haralick texture features from a PGM image using gray level
pgmtexture [input.pgm]
1 commands
ASCII Boulder Dash clone
phear
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
Emulate 32-bit x86 systems with QEMU
qemu-system-i386 -cdrom [image.iso] -boot d
1 commands
1 commands
AI-powered image upscaling with GPU acceleration
realsr-ncnn-vulkan -i [input.jpg] -o [output.png]
1 commands
1 commands
Configure TeX Live installation options
tlmgr option
1 commands
1 commands
Save and restore Vagrant VM states
vagrant snapshot save [name]
1 commands
1 commands
Create and install libvirt virtual machines
virt-install -n [vm_name] --memory [1024] --vcpus [2] --disk path=[path/to/image.qcow2],size=[12] --cdrom [path/to/debian.iso] --osinfo [debian12]
1 commands
Clone dotfiles repository with yadm
yadm clone [url]
1 commands
Combine YUV component files into a PPM image
yuvsplittoppm [base] [width] [height] > [output.ppm]
1 commands
1 commands
Display ZFS pool event log
zpool events
cp file{,.bak}
复制后可按需替换文件名、目录或参数。
tar czf backup.tar.gz directory/
复制后可按需替换文件名、目录或参数。
rsync -ah --progress src dest
需要网络或远程资源。
convert input.jpg output.png
复制后可按需替换文件名、目录或参数。
dd if=iso.iso of=/dev/sdX bs=4M status=progress
权限或系统影响较大,执行前请核对目标。
dd if=/dev/urandom of=/dev/sdX
权限或系统影响较大,执行前请核对目标。
dd if=/dev/zero of=test bs=1G count=1 oflag=dsync
权限或系统影响较大,执行前请核对目标。
ack [pattern]
复制后可按需替换文件名、目录或参数。
act3
复制后可按需替换文件名、目录或参数。
npm install -g agentbox-cli
复制后可按需替换文件名、目录或参数。
sudo aide -i
权限或系统影响较大,执行前请核对目标。
npx aimock -p [4010] -f [./fixtures]
复制后可按需替换文件名、目录或参数。
amadmin [config_name] config
复制后可按需替换文件名、目录或参数。
amcheck [config_name]
复制后可按需替换文件名、目录或参数。
amdump [config_name]
复制后可按需替换文件名、目录或参数。
amrecover [config_name]
复制后可按需替换文件名、目录或参数。
andcli -t aegis [path/to/backup.json]
复制后可按需替换文件名、目录或参数。
animate.im6 [image1.png] [image2.png]
复制后可按需替换文件名、目录或参数。
animate [image1.png] [image2.png] [image3.png]
复制后可按需替换文件名、目录或参数。
anthropic -g user "Hello, Claude!"
复制后可按需替换文件名、目录或参数。
anytopnm [input.jpg] > [output.pnm]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
apptainer build [path/to/image.sif] [path/to/definition.def]
复制后可按需替换文件名、目录或参数。
apptainer cache list
复制后可按需替换文件名、目录或参数。
apptainer delete library://[user/collection/container]:[tag]
复制后可按需替换文件名、目录或参数。
apptainer inspect [path/to/image.sif]
复制后可按需替换文件名、目录或参数。
apptainer overlay create -s [size] [path/to/image.sif]
复制后可按需替换文件名、目录或参数。
apptainer pull [path/to/image.sif] docker://[image]:[tag]
复制后可按需替换文件名、目录或参数。
apptainer push [path/to/image.sif] library://[user/collection/container]:[tag]
复制后可按需替换文件名、目录或参数。
apptainer search [query]
复制后可按需替换文件名、目录或参数。
apptainer sign [path/to/image.sif]
复制后可按需替换文件名、目录或参数。
apptainer verify [path/to/image.sif]
复制后可按需替换文件名、目录或参数。
apptainer pull [path/to/image.sif] docker://[image]:[tag]
复制后可按需替换文件名、目录或参数。
sudo apt-clone clone [path/to/directory]
权限或系统影响较大,执行前请核对目标。
apx stacks new
复制后可按需替换文件名、目录或参数。
arm2hpdl [sihp1005.img] > [sihp1005.dl]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
ascii-image-converter [image.png]
复制后可按需替换文件名、目录或参数。
asciiart [path/to/image.jpg]
复制后可按需替换文件名、目录或参数。
asciitopgm [width] [height] < [ascii.txt] > [output.pgm]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
asciitoppm < [ascii.txt] > [output.ppm]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
attr -s [attribute_name] -V [value] [path/to/file]
复制后可按需替换文件名、目录或参数。
avdmanager list target
复制后可按需替换文件名、目录或参数。
avifdec [input.avif] [output.png]
复制后可按需替换文件名、目录或参数。
avifenc [path/to/input.png] [path/to/output.avif]
需要网络或远程资源。
aws backup create-backup-vault --backup-vault-name [vault_name]
复制后可按需替换文件名、目录或参数。
aws ce get-cost-and-usage --time-period Start=[YYYY-MM-DD],End=[YYYY-MM-DD] --granularity MONTHLY --metrics "BlendedCost" --group-by Type=DIMENSION,Key=SERVICE
复制后可按需替换文件名、目录或参数。
aws dynamodb create-table --table-name [my-table] --attribute-definitions AttributeName=id,AttributeType=S --key-schema AttributeName=id,KeyType=HASH --billing-mode PAY_PER_REQUEST
复制后可按需替换文件名、目录或参数。
aws dynamodbstreams list-streams --table-name [table_name]
复制后可按需替换文件名、目录或参数。
aws ec2 run-instances --image-id [ami-0c55b159cbfafe1f0] --instance-type [t2.micro] --key-name [my-key]
复制后可按需替换文件名、目录或参数。
aws ecr get-login-password | docker login --username AWS --password-stdin [account-id].dkr.ecr.[region].amazonaws.com
涉及管道、覆盖或删除,执行前请先确认路径和参数。
awww img [path/to/image]
复制后可按需替换文件名、目录或参数。
az acr create -n [registry-name] -g [resource-group] --sku [Standard]
复制后可按需替换文件名、目录或参数。
az container create -g [resource-group] --name [container-name] --image [image:tag] --cpu [1] --memory [1]
复制后可按需替换文件名、目录或参数。
az image create --name [MyImage] --resource-group [MyResourceGroup] --source [MyVM]
复制后可按需替换文件名、目录或参数。
az term accept --publisher [publisher] --product [product] --plan [plan]
复制后可按需替换文件名、目录或参数。
az vm create --resource-group [MyRG] --name [MyVM] --image [Ubuntu2204]
复制后可按需替换文件名、目录或参数。
balena-etcher
复制后可按需替换文件名、目录或参数。
ballast
复制后可按需替换文件名、目录或参数。
bastet
复制后可按需替换文件名、目录或参数。
bat [file.js]
复制后可按需替换文件名、目录或参数。
batcat
复制后可按需替换文件名、目录或参数。
sudo bcachefs format [path/to/partition]
权限或系统影响较大,执行前请核对目标。
bchunk [path/to/image.bin] [path/to/image.cue] [path/to/output]
复制后可按需替换文件名、目录或参数。
bdfr download [./output] --subreddit [Python] -L [10]
复制后可按需替换文件名、目录或参数。
betterlockscreen -l
复制后可按需替换文件名、目录或参数。
bgpgrep [path/to/rib.mrt.gz] -subnet [192.0.2.0/24]
权限或系统影响较大,执行前请核对目标。
bioradtopgm [bioradfile.pic] > [output.pgm]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
bk clone [bk://server/repository]
复制后可按需替换文件名、目录或参数。
bkp [path/to/file]
复制后可按需替换文件名、目录或参数。
bluebuild build [recipe.yml]
复制后可按需替换文件名、目录或参数。
sudo bmaptool copy [image.img] [/dev/sdX]
权限或系统影响较大,执行前请核对目标。
bmm
复制后可按需替换文件名、目录或参数。
bmptopnm [image.bmp] > [output.pnm]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
bmptoppm [image.bmp] > [output.ppm]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
sudo bootc switch [image]
权限或系统影响较大,执行前请核对目标。
bootc status
复制后可按需替换文件名、目录或参数。
borg init --encryption=[repokey] [/path/to/repo]
复制后可按需替换文件名、目录或参数。
borg init --encryption=repokey [/path/to/repo]
复制后可按需替换文件名、目录或参数。
brushtopbm [brushfile] > [output.pbm]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
sudo btrbk stats
权限或系统影响较大,执行前请核对目标。
btrfs send [/path/to/snapshot]
复制后可按需替换文件名、目录或参数。
sudo btrfs subvolume create path/to/new_subvolume
权限或系统影响较大,执行前请核对目标。
sudo btrfs subvolume create path/to/subvolume
权限或系统影响较大,执行前请核对目标。
buildah build -t [myimage] [.]
复制后可按需替换文件名、目录或参数。
bulk_extractor -o [output_dir] [image.dd]
复制后可按需替换文件名、目录或参数。
bun test
复制后可按需替换文件名、目录或参数。
bup init
复制后可按需替换文件名、目录或参数。
burn -D -p [path/to/dir]
复制后可按需替换文件名、目录或参数。
bzexe [path/to/executable]
复制后可按需替换文件名、目录或参数。
cacaview [path/to/image]
复制后可按需替换文件名、目录或参数。
caligula burn [path/to/image.iso]
复制后可按需替换文件名、目录或参数。
carbon-now [file.js]
复制后可按需替换文件名、目录或参数。
carton install
复制后可按需替换文件名、目录或参数。
catimg [image.png]
复制后可按需替换文件名、目录或参数。
phear
复制后可按需替换文件名、目录或参数。
cavif [path/to/image.png]
复制后可按需替换文件名、目录或参数。
cdrdao read-cd --device [/dev/cdrom] --read-raw [image.toc]
复制后可按需替换文件名、目录或参数。
cdrecord -v dev=[/dev/sr0] [image.iso]
复制后可按需替换文件名、目录或参数。
chafa [image.png]
复制后可按需替换文件名、目录或参数。
chdman info -i [path/to/image.chd]
复制后可按需替换文件名、目录或参数。
cjpeg [image.bmp] > [output.jpg]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
cjxl [input.png] [output.jxl]
复制后可按需替换文件名、目录或参数。
cli53 list
复制后可按需替换文件名、目录或参数。
cliphist list
复制后可按需替换文件名、目录或参数。
clogin [hostname]
复制后可按需替换文件名、目录或参数。
clone(child_func, stack_top, CLONE_NEWNS | SIGCHLD, arg)
涉及管道、覆盖或删除,执行前请先确认路径和参数。
clonezilla
复制后可按需替换文件名、目录或参数。
python [main.py]
复制后可按需替换文件名、目录或参数。
compare [image1.png] [image2.png] [diff.png]
复制后可按需替换文件名、目录或参数。
compose [filename]
复制后可按需替换文件名、目录或参数。
composite.im6 [overlay.png] [background.png] [output.png]
复制后可按需替换文件名、目录或参数。
composite [overlay.png] [background.png] [output.png]
复制后可按需替换文件名、目录或参数。
compton
复制后可按需替换文件名、目录或参数。
conda create --name [env_name] python=[3.11]
复制后可按需替换文件名、目录或参数。
conjure.im6 [script.msl]
复制后可按需替换文件名、目录或参数。
container-diff analyze [image:tag]
复制后可按需替换文件名、目录或参数。
sudo containerd
权限或系统影响较大,执行前请核对目标。
convert [input.png] [output.jpg]
复制后可按需替换文件名、目录或参数。
cosign sign [registry/image@sha256:digest]
复制后可按需替换文件名、目录或参数。
crane append -b [base_image] -f [layer.tar.gz] -t [new_image:tag]
复制后可按需替换文件名、目录或参数。
crane blob [image]@[digest]
复制后可按需替换文件名、目录或参数。
crane config [image]
复制后可按需替换文件名、目录或参数。
crane copy [source_image] [destination_image]
复制后可按需替换文件名、目录或参数。
crane cp [source_image] [destination_image]
复制后可按需替换文件名、目录或参数。
crane delete [registry.example.com/repo:tag]
复制后可按需替换文件名、目录或参数。
crane digest [image:tag]
复制后可按需替换文件名、目录或参数。
crane export [image] [output.tar]
复制后可按需替换文件名、目录或参数。
crane flatten [image] -t [flattened:tag]
复制后可按需替换文件名、目录或参数。
crane index append -t [index:tag] -m [image:tag]
复制后可按需替换文件名、目录或参数。
crane index filter [image] --platform linux/amd64
复制后可按需替换文件名、目录或参数。
crane index --help
复制后可按需替换文件名、目录或参数。
crane ls [registry/repository]
复制后可按需替换文件名、目录或参数。
crane manifest [image:tag]
复制后可按需替换文件名、目录或参数。
crane mutate [image] --label [key=value] -t [new:tag]
复制后可按需替换文件名、目录或参数。
crane pull [image:tag] [output.tar]
复制后可按需替换文件名、目录或参数。
crane push [image.tar] [registry/repo:tag]
复制后可按需替换文件名、目录或参数。
crane rebase [image:tag] --old_base [old:base] --new_base [new:base] -t [rebased:tag]
复制后可按需替换文件名、目录或参数。
crane tag [image:existing] [new_tag]
复制后可按需替换文件名、目录或参数。
crane validate --remote [image:tag]
复制后可按需替换文件名、目录或参数。
crane pull [registry/image:tag] [output.tar]
复制后可按需替换文件名、目录或参数。
create-image -o [path/to/output.cpio]
复制后可按需替换文件名、目录或参数。
crictl ps
复制后可按需替换文件名、目录或参数。
criu check
复制后可按需替换文件名、目录或参数。
cryptsetup luksFormat /dev/sda1
复制后可按需替换文件名、目录或参数。
ctr containers list
复制后可按需替换文件名、目录或参数。
cubemastercli tpl create-from-image --image [registry/image:tag]
复制后可按需替换文件名、目录或参数。
cutycapt --url=[https://example.com] --out=[screenshot.png]
复制后可按需替换文件名、目录或参数。
cwebp [input.png] -o [output.webp]
复制后可按需替换文件名、目录或参数。
daps -d [DC-file] html
复制后可按需替换文件名、目录或参数。
darktable-cli [input.raw] [output.jpg]
复制后可按需替换文件名、目录或参数。
date
复制后可按需替换文件名、目录或参数。
dbx auth login
复制后可按需替换文件名、目录或参数。
dcfldd if=[/dev/sda] of=[disk.img]
权限或系统影响较大,执行前请核对目标。
dconf reset /[path/to/key]
复制后可按需替换文件名、目录或参数。
dconf read /[path/to/key]
复制后可按需替换文件名、目录或参数。
dcraw [image.raw]
复制后可按需替换文件名、目录或参数。
sudo dd if=[path/to/file.iso] of=[/dev/usb_drive] status=progress
权限或系统影响较大,执行前请核对目标。
sudo ddrescue [/dev/sdb] [path/to/image.dd] [path/to/log.txt]
权限或系统影响较大,执行前请核对目标。
depsguard
复制后可按需替换文件名、目录或参数。
devcontainer build --workspace-folder [.]
复制后可按需替换文件名、目录或参数。
dia
复制后可按需替换文件名、目录或参数。
diffimg [image1.png] [image2.png] [diff.png]
复制后可按需替换文件名、目录或参数。
dirb [https://example.org]
复制后可按需替换文件名、目录或参数。
dirbuster -u [http://example.com]
复制后可按需替换文件名、目录或参数。
dirsearch -u [https://example.com]
复制后可按需替换文件名、目录或参数。
display.im6 [image.jpg]
复制后可按需替换文件名、目录或参数。
display [image.jpg]
复制后可按需替换文件名、目录或参数。
distrobox-create [container_name] -i [ubuntu:latest]
复制后可按需替换文件名、目录或参数。
distrobox-list
复制后可按需替换文件名、目录或参数。
distrobox create --name [mycontainer] --image [ubuntu:latest]
复制后可按需替换文件名、目录或参数。
dive [image:tag]
复制后可按需替换文件名、目录或参数。
djpeg [image.jpg] > [output.ppm]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
djxl [image.jxl] [output.png]
复制后可按需替换文件名、目录或参数。
dmtxread [image.png]
复制后可按需替换文件名、目录或参数。
dockdiver -u [username]
复制后可按需替换文件名、目录或参数。
docker build -t [image_name] .
复制后可按需替换文件名、目录或参数。
docker commit [container_id] [image_name:tag]
复制后可按需替换文件名、目录或参数。
docker container commit [container] [image:tag]
复制后可按需替换文件名、目录或参数。
docker container diff [container]
复制后可按需替换文件名、目录或参数。
docker container remove [container]
复制后可按需替换文件名、目录或参数。
docker container run [image]
复制后可按需替换文件名、目录或参数。
docker container stats
复制后可按需替换文件名、目录或参数。
docker diff [container_name]
复制后可按需替换文件名、目录或参数。
docker image load -i [image.tar]
复制后可按需替换文件名、目录或参数。
docker image ls
复制后可按需替换文件名、目录或参数。
docker image pull [image]
复制后可按需替换文件名、目录或参数。
docker image rm [image]
复制后可按需替换文件名、目录或参数。
docker image save -o [image.tar] [image]
复制后可按需替换文件名、目录或参数。
docker image tag [source_image]:[tag] [target_image]:[version]
复制后可按需替换文件名、目录或参数。
docker image ls
复制后可按需替换文件名、目录或参数。
docker images
复制后可按需替换文件名、目录或参数。
docker inspect [container]
复制后可按需替换文件名、目录或参数。
docker load -i [image.tar]
复制后可按需替换文件名、目录或参数。
docker ps
复制后可按需替换文件名、目录或参数。
docker pull [image]
复制后可按需替换文件名、目录或参数。
docker rmi [image]
复制后可按需替换文件名、目录或参数。
docker run -it [image] [bash]
复制后可按需替换文件名、目录或参数。
docker save -o [image.tar] [image]
复制后可按需替换文件名、目录或参数。
docker search [term]
复制后可按需替换文件名、目录或参数。
docker service create --name [name] [image]
复制后可按需替换文件名、目录或参数。
docker-slim build [image]
复制后可按需替换文件名、目录或参数。
docker tag [source_image] [target_image]:[tag]
复制后可按需替换文件名、目录或参数。
docker run [image]
复制后可按需替换文件名、目录或参数。
doctl compute droplet list
复制后可按需替换文件名、目录或参数。
dolt clone [owner/repo]
复制后可按需替换文件名、目录或参数。
dolt commit -m "[message]"
复制后可按需替换文件名、目录或参数。
dolt init
复制后可按需替换文件名、目录或参数。
dracut
复制后可按需替换文件名、目录或参数。
drawing
复制后可按需替换文件名、目录或参数。
dss initialize --kubeconfig "$(sudo k8s config)"
权限或系统影响较大,执行前请核对目标。
dump -0uf [/backup/root.dump] [/dev/sda1]
复制后可按需替换文件名、目录或参数。
duplicacy init [snapshot_id] [/path/to/storage]
复制后可按需替换文件名、目录或参数。
duplicity [/path/to/source] [sftp://user@host/backup]
复制后可按需替换文件名、目录或参数。
dwebp [image.webp] -o [output.png]
复制后可按需替换文件名、目录或参数。
e2image [/dev/sdXN] [path/to/image_file]
复制后可按需替换文件名、目录或参数。
ebook-meta [book.epub]
复制后可按需替换文件名、目录或参数。
sudo eclean-kernel -l
权限或系统影响较大,执行前请核对目标。
sudo mount -t ecryptfs [/encrypted] [/mnt/decrypted]
权限或系统影响较大,执行前请核对目标。
ect [image.png]
复制后可按需替换文件名、目录或参数。
envdiff capture
复制后可按需替换文件名、目录或参数。
eog [path/to/image.png]
复制后可按需替换文件名、目录或参数。
epstopdf [image.eps]
复制后可按需替换文件名、目录或参数。
echo "x = {-b +- sqrt{b sup 2 - 4ac}} over 2a" | eqn2graph > [equation.png]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
escp2topbm < [input.escp2] > [output.pbm]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
exif [path/to/image.jpg]
复制后可按需替换文件名、目录或参数。
exiftool [image.jpg]
复制后可按需替换文件名、目录或参数。
exiv2 [image.jpg]
复制后可按需替换文件名、目录或参数。
exo compute block-storage list --zone [ch-gva-2]
复制后可按需替换文件名、目录或参数。
eyuvtoppm -w [width] -h [height] < [input.eyuv] > [output.ppm]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
fakecloud
复制后可按需替换文件名、目录或参数。
fbgrab [screenshot.png]
复制后可按需替换文件名、目录或参数。
sudo fbi [path/to/file]
权限或系统影响较大,执行前请核对目标。
fdupes [/path/to/directory]
复制后可按需替换文件名、目录或参数。
feh [image.jpg]
复制后可按需替换文件名、目录或参数。
fiascotopnm [input.fiasco] > [output.pnm]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
filen login
复制后可按需替换文件名、目录或参数。
fim [image.jpg]
复制后可按需替换文件名、目录或参数。
fitstopnm [input.fits] > [output.pnm]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
flameshot full
复制后可按需替换文件名、目录或参数。
fluxctl list-workloads
复制后可按需替换文件名、目录或参数。
foot
复制后可按需替换文件名、目录或参数。