ack
grep-like source code search tool for programmers
ack [pattern]
Linux basics
198 System Recovery Linux command examples grouped into 37 practical sections.
Browse grouped command cards or search directly below.
72 commands
grep-like source code search tool for programmers
ack [pattern]
Crack WEP and WPA/WPA2 wireless encryption keys
aircrack-ng -w [wordlist.txt] [capture.cap]
Run Amanda backups
amdump [config_name]
Web-based digital forensics analysis interface
autopsy
TUI for managing BibLaTeX databases with Vim-like keybindings
bibiman [path/to/references.bib]
Generate a stream of btrfs subvolume changes for backup and replication
btrfs send [/path/to/snapshot]
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]
Amazon Route 53 DNS management tool
cli53 list
Java-based web content discovery tool
dirbuster -u [http://example.com]
web path brute-force scanner for content discovery
dirsearch -u [https://example.com]
save Docker images to tar archives
docker save -o [image.tar] [image]
Add or update a NuGet package reference in a project
dotnet add package [package_name]
.NET project compiler and builder
dotnet build
save ext filesystem metadata images
e2image [/dev/sdXN] [path/to/image_file]
stacked cryptographic filesystem
sudo mount -t ecryptfs [/encrypted] [/mnt/decrypted]
ext3/ext4 file recovery utility
sudo extundelete [/dev/sdXN] --restore-all
end-to-end encrypted cloud storage CLI
filen login
fix SELinux file security contexts
fixfiles restore
filesystem mount configuration file
cat /etc/fstab
exports Cloud SQL data to storage
gcloud sql export sql [instance] [gs://bucket/file.sql] --database [db_name]
interactive GPT partitioning tool
sudo gdisk -l
text editor for GNOME desktop environment
gedit [path/to/file]
Stage changes in the working directory for next commit
git add [path/to/file]
Verify connectivity and validity of repository objects
git fsck
Record and recover reference movements
git reflog
Encrypted overlay filesystem using FUSE
gocryptfs -init [cipher-dir]
Trash CLI tool written in Go
gomi [file1] [file2]
manage GRUB environment block variables
grub-editenv /boot/grub/grubenv set default=Ubuntu
check boot image file type
grub-file --is-arm-efi [path/to/file]
generate GRUB bootloader configuration file
sudo grub-mkconfig
create GRUB device mapping file
sudo grub-mkdevicemap
create GRUB keyboard layout files
grub-mklayout -o [layout.gkb] < [layout.ckb]
mount filesystems using GRUB's drivers via FUSE
grub-mount [/dev/sdXY] [/mnt]
64 commands
Interactively browse and restore Amanda backups
amrecover [config_name]
Backup and restore installed package states
sudo apt-clone clone [path/to/directory]
Manipulate extended attributes on filesystem objects
attr -s [attribute_name] -V [value] [path/to/file]
simple utility for creating backups of files and directories
bkp [path/to/file]
Recovery tools for damaged btrfs filesystems
sudo btrfs rescue chunk-recover [path/to/partition]
Manage btrfs copy-on-write filesystems
sudo btrfs subvolume create path/to/subvolume
Brute-force WPS pins to recover WPA/WPA2 passphrases
bully -b [mac] -c [channel] [interface]
automated login to Cisco network devices
clogin [hostname]
create isolated conda environments
conda create --name [env_name] python=[3.11]
Checkpoint and restore running processes in userspace
criu check
display or set the system date and time
date
command-line interface for Dropbox cloud storage
dbx auth login
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]
Harden npm, pnpm, yarn, bun and uv configurations against supply-chain risk
depsguard
web directory brute-force scanner
dirb [https://example.org]
load images from tar archives
docker image load -i [image.tar]
save images to tar archives
docker image save -o [image.tar] [image]
switch branches or restore working tables
dolt checkout [branch_name]
Restore NuGet package dependencies for a .NET project
dotnet restore
ext2/ext3/ext4 filesystem backup utility
dump -0uf [/backup/root.dump] [/dev/sda1]
find and remove duplicate files
fdupes [/path/to/directory]
LVM filesystem management utility
fsadm check /dev/vg_name/lv_name
filesystem check and repair utility
sudo fsck /dev/sdXN
cross-platform file change monitor
fswatch [/path/to/directory]
command-line client for Google Drive
gdrive files list
AS-REP roasting tool for domain user enumeration
GetNPUsers.py [DOMAIN]/[username]:[password] -request -format hashcat -outputfile [hashes.txt]
Switch branches or restore working tree files
git checkout [branch-name]
Clone a remote repository
git clone [https://github.com/owner/repo.git]
Restore working tree files or unstage changes
git restore [file]
Restore file timestamps from commit history
git utimes
install GRUB bootloader to a device
sudo grub-install [/dev/device]
probe device and filesystem information for GRUB
sudo grub-probe -t fs /boot/grub
command-line bootloader configuration tool for Red Hat systems
sudo grubby --update-kernel=ALL --args 'quiet console=ttyS0'
Featureful trash CLI manager and safe rm alternative
gtrash put [path/to/file1] [path/to/file2]
performs print head cleaning on HP printers
hp-clean
27 commands
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
Flash disk images efficiently using block maps
sudo bmaptool copy [image.img] [/dev/sdX]
Linux system startup process documentation
man 7 boot
Recover data from damaged bzip2 files
bzip2recover [damaged.bz2]
disk cloning and imaging solution
clonezilla
forensic disk imaging tool with hashing
dcfldd if=[/dev/sda] of=[disk.img]
restore DVC-tracked files to workspace
dvc checkout
remove DVC initialization from project
dvc destroy
Flask session cookie manipulation and cracking
flask-unsign --decode --cookie "[cookie_value]"
filesystem backup and restore tool
sudo fsarchiver savefs [archive.fsa] [/dev/sda1]
manage GitHub Actions workflow caches
gh cache list
create bootable GRUB rescue images
grub-mkrescue --output [grub.iso] .
generate PBKDF2 password hash for GRUB protection
sudo grub2-mkpasswd-pbkdf2
abandon revisions in Jujutsu
jj abandon
CLI for Keycloak, an open-source identity and access management
kc.sh start-dev
probes a partition for bootable Linux operating systems
sudo linux-boot-prober /dev/sdXY
backs up and restores video game save data
ludusavi backup
tests whether the system is running on AC power
on_ac_power && echo "AC" || echo "Battery"
creates and restores partition images while skipping empty blocks
sudo partclone.ext4 -c -s /dev/sdXY -o [path/to/backup.img]
extends pass with TOTP/HOTP support
pass otp [path/to/entry]
Stop embedded NBD server for a Proxmox VM
qm nbdstop [100]
Reset SteamOS to factory settings
steamos-factory-reset
Single-user mode root login prompt
sudo sulogin
Stop and restart systemd units
systemctl restart [unit]
Encrypted deduplicated online backup
tarsnap -c -f [backup-name] [/path/to/backup]
Regenerate GRUB bootloader configuration
tldr grub-mkconfig
Kubernetes cluster backup and restore
velero backup create [backup-name]
22 commands
Centrally manage backups across AWS services
aws backup create-backup-vault --backup-vault-name [vault_name]
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]
crack Bluetooth Low Energy encryption
crackle -i [capture.pcap]
reset dconf keys to default values
dconf reset /[path/to/key]
GNOME configuration database management tool
dconf read /[path/to/key]
interactive debugger for ext2/ext3/ext4 filesystems
debugfs [/dev/sdXN]
Create, list, or delete object replacement refs
git replace [object] [replacement]
write GRUB boot code to MBR for BIOS systems
grub-bios-setup /dev/sdX
convert fonts to GRUB PF2 format
grub-mkfont -o [output.pf2] [input.ttf]
set default boot entry for next reboot only
sudo grub-reboot [entry_number]
reverses the last repository operation
jj undo
Automatic kernel EFI stub manager
sudo kernelstub -p
windows password cracker that uses rainbow tables to recover passwords from LM
ophcrack -g -d [path/to/tables] -f [hashes.txt]
Reliable PostgreSQL backup and restore tool
pgbackrest --stanza=[name] stanza-create
WPS brute-force attack tool for WiFi networks
wash -i [wlan0mon]
alias for restore — extract files from a dump(8) backup
tldr restore
Interactively find and recover deleted or overwritten files from your terminal
sudo recoverpy
Windows registry editor via Wine
regedit
Suspend to both RAM and disk
systemctl hybrid-sleep
System backup and restore using snapshots
sudo timeshift --list
Receive ZFS snapshot replication streams
zfs receive [pool/dataset] < [backup.zfs]
16 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
Save and restore ALSA sound card settings.
sudo alsactl store
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
Temporarily save uncommitted changes for later
git stash
set permanent default GRUB boot entry
sudo grub-set-default [entry_number]
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
manipulates the MAC address of network interfaces
macchanger -s [eth0]
Command-line interface for Plesk hosting panel
plesk version
Permanently remove a Proxmox virtual machine
qm destroy 100
Fast and secure deduplicated backup tool
restic -r [/path/to/repo] init
Subversion repository administration tool
svnadmin create [/path/to/repo]
Virtual disk image format conversion
xmount --in raw [path/to/image.dd] --out dmg [mountpoint]
13 commands
Backup tool for btrfs snapshots and subvolumes
sudo btrbk stats
exFAT filesystem check and repair
fsck.exfat [/dev/sdXN]
displays backup information
gcloud sql backups describe [backup_id] --instance [instance_name]
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]
Fast encrypted deduplicated backup tool
rustic init
Enter default system target
systemctl default
Show default boot target
systemctl get-default
Manage TigerGraph Cloud instances
tgcloud login
Backup TeX Live packages
tlmgr backup [package]
Restore TeX Live packages from backups
tlmgr restore
Backup LVM volume group metadata
sudo vgcfgbackup
12 commands
Useful Linux one-liner
cp file{,.bak}
lock-free cloud backup with deduplication
duplicacy init [snapshot_id] [/path/to/storage]
copies container images between registries
gcrane copy [source_image] [dest_image]
Backup tool for databases and files
gobackup perform
self-hosted photo and video backup solution
docker compose up -d
Check and repair LVM physical volume metadata
sudo pvck /dev/sdX1 --dump headers
Terminal file manager with vim keybindings
ranger
a safe and ergonomic alternative to rm
rip [file.txt]
Schedule system wake from sleep using RTC alarm
sudo rtcwake -m show -v
Securely overwrite and delete files
shred [file]
move files to recoverable FreeDesktop.org trash
trash [path/to/file]
Manage ZeroTier cryptographic identities
zerotier-idtool generate [identity.secret]
5 commands
Useful Linux one-liner
tar czf backup.tar.gz directory/
Salvage files from a damaged btrfs filesystem
sudo btrfs restore [path/to/btrfs_device] [path/to/target_directory]
Create and restore GitLab instance backups
sudo gitlab-backup create
builds customized, modern Linux OS images
mkosi summary
restores PostgreSQL databases from archives created by pg_dump
pg_restore -d [database] [backup.dump]
2 commands
2 commands
1 commands
Pretty-print XML documents
xml format [input.xml]
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
Exoscale persistent block storage volume management
exo compute block-storage list --zone [ch-gva-2]
1 commands
1 commands
combine 32-bit and 64-bit EFI binaries
grub-glue-efi -3 [ia32.efi] -6 [x64.efi] -o [boot.efi]
1 commands
1 commands
administers Neo4j databases
neo4j-admin database dump --to-path=[/backups] [neo4j]
1 commands
fixes corrupted database entries in the libalpm database
pacrepairdb package_name
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
upgrades PostgreSQL to a new major version in place
pg_upgrade -b [old_bindir] -B [new_bindir] -d [old_datadir] -D [new_datadir]
1 commands
1 commands
1 commands
1 commands
Restore files from the trash
tldr trash
1 commands
Configure TeX Live installation options
tlmgr option
1 commands
1 commands
1 commands
Save and restore Vagrant VM states
vagrant snapshot save [name]
cp file{,.bak}
Copy it and replace filenames, paths, or keywords as needed.
tar czf backup.tar.gz directory/
Copy it and replace filenames, paths, or keywords as needed.
dd if=iso.iso of=/dev/sdX bs=4M status=progress
May affect permissions or system state. Check the target first.
dd if=/dev/urandom of=/dev/sdX
May affect permissions or system state. Check the target first.
dd if=/dev/zero of=test bs=1G count=1 oflag=dsync
May affect permissions or system state. Check the target first.
ack [pattern]
Copy it and replace filenames, paths, or keywords as needed.
aircrack-ng -w [wordlist.txt] [capture.cap]
Copy it and replace filenames, paths, or keywords as needed.
sudo alsactl store
May affect permissions or system state. Check the target first.
amadmin [config_name] config
Copy it and replace filenames, paths, or keywords as needed.
amcheck [config_name]
Copy it and replace filenames, paths, or keywords as needed.
amdump [config_name]
Copy it and replace filenames, paths, or keywords as needed.
amrecover [config_name]
Copy it and replace filenames, paths, or keywords as needed.
andcli -t aegis [path/to/backup.json]
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.
attr -s [attribute_name] -V [value] [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
autopsy
Copy it and replace filenames, paths, or keywords as needed.
aws backup create-backup-vault --backup-vault-name [vault_name]
Copy it and replace filenames, paths, or keywords as needed.
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
Copy it and replace filenames, paths, or keywords as needed.
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
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.
bibiman [path/to/references.bib]
Copy it and replace filenames, paths, or keywords as needed.
bkp [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
sudo bmaptool copy [image.img] [/dev/sdX]
May affect permissions or system state. Check the target first.
bmm
Copy it and replace filenames, paths, or keywords as needed.
man 7 boot
Copy it and replace filenames, paths, or keywords as needed.
borg init --encryption=[repokey] [/path/to/repo]
Copy it and replace filenames, paths, or keywords as needed.
borg init --encryption=repokey [/path/to/repo]
Copy it and replace filenames, paths, or keywords as needed.
sudo btrbk stats
May affect permissions or system state. Check the target first.
sudo btrfs rescue chunk-recover [path/to/partition]
May affect permissions or system state. Check the target first.
sudo btrfs restore [path/to/btrfs_device] [path/to/target_directory]
May affect permissions or system state. Check the target first.
btrfs send [/path/to/snapshot]
Copy it and replace filenames, paths, or keywords as needed.
sudo btrfs subvolume create path/to/subvolume
May affect permissions or system state. Check the target first.
bulk_extractor -o [output_dir] [image.dd]
Copy it and replace filenames, paths, or keywords as needed.
bully -b [mac] -c [channel] [interface]
Copy it and replace filenames, paths, or keywords as needed.
bup init
Copy it and replace filenames, paths, or keywords as needed.
bzexe [path/to/executable]
Copy it and replace filenames, paths, or keywords as needed.
bzip2recover [damaged.bz2]
Copy it and replace filenames, paths, or keywords as needed.
caligula burn [path/to/image.iso]
Copy it and replace filenames, paths, or keywords as needed.
cli53 list
Copy it and replace filenames, paths, or keywords as needed.
clogin [hostname]
Copy it and replace filenames, paths, or keywords as needed.
clonezilla
Copy it and replace filenames, paths, or keywords as needed.
conda create --name [env_name] python=[3.11]
Copy it and replace filenames, paths, or keywords as needed.
crackle -i [capture.pcap]
Copy it and replace filenames, paths, or keywords as needed.
criu check
Copy it and replace filenames, paths, or keywords as needed.
cryptsetup luksFormat /dev/sda1
Copy it and replace filenames, paths, or keywords as needed.
date
Copy it and replace filenames, paths, or keywords as needed.
dbx auth login
Copy it and replace filenames, paths, or keywords as needed.
dcfldd if=[/dev/sda] of=[disk.img]
May affect permissions or system state. Check the target first.
dconf reset /[path/to/key]
Copy it and replace filenames, paths, or keywords as needed.
dconf read /[path/to/key]
Copy it and replace filenames, paths, or keywords as needed.
sudo dd if=[path/to/file.iso] of=[/dev/usb_drive] status=progress
May affect permissions or system state. Check the target first.
sudo ddrescue [/dev/sdb] [path/to/image.dd] [path/to/log.txt]
May affect permissions or system state. Check the target first.
debugfs [/dev/sdXN]
Copy it and replace filenames, paths, or keywords as needed.
depsguard
Copy it and replace filenames, paths, or keywords as needed.
dirb [https://example.org]
Copy it and replace filenames, paths, or keywords as needed.
dirbuster -u [http://example.com]
Copy it and replace filenames, paths, or keywords as needed.
dirsearch -u [https://example.com]
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 save -o [image.tar] [image]
Copy it and replace filenames, paths, or keywords as needed.
dolt checkout [branch_name]
Copy it and replace filenames, paths, or keywords as needed.
dotnet add package [package_name]
May affect permissions or system state. Check the target first.
dotnet build
Copy it and replace filenames, paths, or keywords as needed.
dotnet restore
Copy it and replace filenames, paths, or keywords as needed.
dump -0uf [/backup/root.dump] [/dev/sda1]
Copy it and replace filenames, paths, or keywords as needed.
duplicacy init [snapshot_id] [/path/to/storage]
Copy it and replace filenames, paths, or keywords as needed.
duplicity [/path/to/source] [sftp://user@host/backup]
Copy it and replace filenames, paths, or keywords as needed.
dvc checkout
Copy it and replace filenames, paths, or keywords as needed.
dvc destroy
Copy it and replace filenames, paths, or keywords as needed.
e2image [/dev/sdXN] [path/to/image_file]
Copy it and replace filenames, paths, or keywords as needed.
sudo mount -t ecryptfs [/encrypted] [/mnt/decrypted]
May affect permissions or system state. Check the target first.
exo compute block-storage list --zone [ch-gva-2]
Copy it and replace filenames, paths, or keywords as needed.
sudo extundelete [/dev/sdXN] --restore-all
May affect permissions or system state. Check the target first.
fdupes [/path/to/directory]
Copy it and replace filenames, paths, or keywords as needed.
filen login
Copy it and replace filenames, paths, or keywords as needed.
fixfiles restore
Copy it and replace filenames, paths, or keywords as needed.
flask-unsign --decode --cookie "[cookie_value]"
Copy it and replace filenames, paths, or keywords as needed.
frotz [game.z5]
Copy it and replace filenames, paths, or keywords as needed.
fsadm check /dev/vg_name/lv_name
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.
fsck.exfat [/dev/sdXN]
Copy it and replace filenames, paths, or keywords as needed.
sudo fsck /dev/sdXN
May affect permissions or system state. Check the target first.
cat /etc/fstab
Copy it and replace filenames, paths, or keywords as needed.
fswatch [/path/to/directory]
Copy it and replace filenames, paths, or keywords as needed.
gcloud sql backups describe [backup_id] --instance [instance_name]
Copy it and replace filenames, paths, or keywords as needed.
gcloud sql export sql [instance] [gs://bucket/file.sql] --database [db_name]
Copy it and replace filenames, paths, or keywords as needed.
gcrane copy [source_image] [dest_image]
Copy it and replace filenames, paths, or keywords as needed.
sudo gdisk -l
May affect permissions or system state. Check the target first.
gdrive files list
Copy it and replace filenames, paths, or keywords as needed.
gedit [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
GetNPUsers.py [DOMAIN]/[username]:[password] -request -format hashcat -outputfile [hashes.txt]
Copy it and replace filenames, paths, or keywords as needed.
gh cache list
Copy it and replace filenames, paths, or keywords as needed.
git add [path/to/file]
May affect permissions or system state. Check the target first.
git checkout [branch-name]
Copy it and replace filenames, paths, or keywords as needed.
git clone [https://github.com/owner/repo.git]
Copy it and replace filenames, paths, or keywords as needed.
git fsck
Copy it and replace filenames, paths, or keywords as needed.
git reflog
Copy it and replace filenames, paths, or keywords as needed.
git replace [object] [replacement]
Copy it and replace filenames, paths, or keywords as needed.
git restore [file]
Copy it and replace filenames, paths, or keywords as needed.
git stash
Copy it and replace filenames, paths, or keywords as needed.
git utimes
Copy it and replace filenames, paths, or keywords as needed.
sudo gitlab-backup create
May affect permissions or system state. Check the target first.
gobackup perform
Copy it and replace filenames, paths, or keywords as needed.
gocryptfs -init [cipher-dir]
Copy it and replace filenames, paths, or keywords as needed.
gomi [file1] [file2]
Copy it and replace filenames, paths, or keywords as needed.
grub-bios-setup /dev/sdX
Copy it and replace filenames, paths, or keywords as needed.
grub-editenv /boot/grub/grubenv set default=Ubuntu
Copy it and replace filenames, paths, or keywords as needed.
grub-file --is-arm-efi [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
grub-glue-efi -3 [ia32.efi] -6 [x64.efi] -o [boot.efi]
Copy it and replace filenames, paths, or keywords as needed.
sudo grub-install [/dev/device]
May affect permissions or system state. Check the target first.
sudo grub-mkconfig
May affect permissions or system state. Check the target first.
sudo grub-mkdevicemap
May affect permissions or system state. Check the target first.
grub-mkfont -o [output.pf2] [input.ttf]
Copy it and replace filenames, paths, or keywords as needed.
grub-mklayout -o [layout.gkb] < [layout.ckb]
Copy it and replace filenames, paths, or keywords as needed.
grub-mkrescue --output [grub.iso] .
Copy it and replace filenames, paths, or keywords as needed.
grub-mount [/dev/sdXY] [/mnt]
May affect permissions or system state. Check the target first.
sudo grub-probe -t fs /boot/grub
May affect permissions or system state. Check the target first.
sudo grub-reboot [entry_number]
May affect permissions or system state. Check the target first.
grub-script-check [path/to/grub.cfg]
Copy it and replace filenames, paths, or keywords as needed.
sudo grub-set-default [entry_number]
May affect permissions or system state. Check the target first.
sudo grub
May affect permissions or system state. Check the target first.
sudo grub2-mkpasswd-pbkdf2
May affect permissions or system state. Check the target first.
sudo grubby --update-kernel=ALL --args 'quiet console=ttyS0'
May affect permissions or system state. Check the target first.
gtrash put [path/to/file1] [path/to/file2]
Copy it and replace filenames, paths, or keywords as needed.
gyb --email [user@gmail.com] --action backup
Copy it and replace filenames, paths, or keywords as needed.
hp-clean
Copy it and replace filenames, paths, or keywords as needed.
httm [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
idevicebackup backup [backup-dir]
Copy it and replace filenames, paths, or keywords as needed.
idevicebackup2 backup [backup-dir]
Copy it and replace filenames, paths, or keywords as needed.
ils [image.dd]
Copy it and replace filenames, paths, or keywords as needed.
docker compose up -d
Copy it and replace filenames, paths, or keywords as needed.
tldr iptables-restore
Copy it and replace filenames, paths, or keywords as needed.
sudo iptables-restore /etc/iptables.rules
May affect permissions or system state. Check the target first.
sudo iptables-save
May affect permissions or system state. Check the target first.
jdupes [path/to/directory]
Copy it and replace filenames, paths, or keywords as needed.
jj abandon
Copy it and replace filenames, paths, or keywords as needed.
jj restore
Copy it and replace filenames, paths, or keywords as needed.
jj revert -r [revision]
Copy it and replace filenames, paths, or keywords as needed.
jj undo
Copy it and replace filenames, paths, or keywords as needed.
jrnl [Today was a good day.]
Copy it and replace filenames, paths, or keywords as needed.
sudo kernelstub -p
May affect permissions or system state. Check the target first.
kc.sh start-dev
Copy it and replace filenames, paths, or keywords as needed.
kopia repository create filesystem --path [/path/to/repo]
Copy it and replace filenames, paths, or keywords as needed.
l2ping [AA:BB:CC:DD:EE:FF]
Copy it and replace filenames, paths, or keywords as needed.
lazyssh
Requires network or a remote resource.
lbu commit
Copy it and replace filenames, paths, or keywords as needed.
light
Copy it and replace filenames, paths, or keywords as needed.
limine-snapper-sync
Copy it and replace filenames, paths, or keywords as needed.
sudo linux-boot-prober /dev/sdXY
May affect permissions or system state. Check the target first.
lnko link [package1] [package2]
Copy it and replace filenames, paths, or keywords as needed.
lsyncd -rsync [/source/] [/destination/]
Requires network or a remote resource.
ludusavi backup
Copy it and replace filenames, paths, or keywords as needed.
macchanger -s [eth0]
Copy it and replace filenames, paths, or keywords as needed.
matrirc --allow-register
Copy it and replace filenames, paths, or keywords as needed.
mdtt [path/to/file.md]
Copy it and replace filenames, paths, or keywords as needed.
mfoc -O [output.mfd]
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.
neo4j-admin database dump --to-path=[/backups] [neo4j]
Copy it and replace filenames, paths, or keywords as needed.
nitrogen [path/to/directory]
Copy it and replace filenames, paths, or keywords as needed.
sudo ntfs-3g.secaudit -ar [/dev/sda1]
May affect permissions or system state. Check the target first.
ntfsclone --output [clone.img] [/dev/sda1]
Copy it and replace filenames, paths, or keywords as needed.
offlineimap
Copy it and replace filenames, paths, or keywords as needed.
on_ac_power && echo "AC" || echo "Battery"
Uses pipes, overwrite, or deletion. Check paths and options first.
ophcrack -g -d [path/to/tables] -f [hashes.txt]
Copy it and replace filenames, paths, or keywords as needed.
pacrepairdb package_name
Copy it and replace filenames, paths, or keywords as needed.
pacrepairfile path/to/file --package
Copy it and replace filenames, paths, or keywords as needed.
paperkey --secret-key [secret.gpg] --output [paperkey.txt]
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.
sudo partclone.ext4 -c -s /dev/sdXY -o [path/to/backup.img]
May affect permissions or system state. Check the target first.
pass otp [path/to/entry]
Copy it and replace filenames, paths, or keywords as needed.
pct clone [template_id] [new_id]
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.
pg_basebackup -D [backup_dir] -h [host] -U [user]
Copy it and replace filenames, paths, or keywords as needed.
pg_combinebackup [full_backup] [incr_backup] -o [output_dir]
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_dumpall > [backup.sql]
Uses pipes, overwrite, or deletion. Check paths and options first.
pg_restore -d [database] [backup.dump]
Copy it and replace filenames, paths, or keywords as needed.
pg_rewind -D [target_dir] --source-server="host=[host] user=[rewind_user] dbname=[postgres]"
Copy it and replace filenames, paths, or keywords as needed.
pg_upgrade -b [old_bindir] -B [new_bindir] -d [old_datadir] -D [new_datadir]
Copy it and replace filenames, paths, or keywords as needed.
pg_verifybackup [backup_dir]
Copy it and replace filenames, paths, or keywords as needed.
pg_walsummary [summary_file]
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.
sudo photorec /dev/sdb
May affect permissions or system state. Check the target first.
phpbu
Copy it and replace filenames, paths, or keywords as needed.
picotool info
Copy it and replace filenames, paths, or keywords as needed.
plesk version
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.
progress
Copy it and replace filenames, paths, or keywords as needed.
pv [file] > [output]
Uses pipes, overwrite, or deletion. Check paths and options first.
sudo pvck /dev/sdX1 --dump headers
May affect permissions or system state. Check the target first.
qm create 100
Copy it and replace filenames, paths, or keywords as needed.
qm destroy 100
Copy it and replace filenames, paths, or keywords as needed.
qm listsnapshot [100]
Copy it and replace filenames, paths, or keywords as needed.
qm nbdstop [100]
Copy it and replace filenames, paths, or keywords as needed.
qm unlock 100
Copy it and replace filenames, paths, or keywords as needed.
qmrestore path/to/vzdump-qemu-100.vma.lzo 100
Copy it and replace filenames, paths, or keywords as needed.
rancid-run
Copy it and replace filenames, paths, or keywords as needed.
ranger
Copy it and replace filenames, paths, or keywords as needed.
rdiff-backup [source/] [backup/]
Copy it and replace filenames, paths, or keywords as needed.
sudo readom dev=/dev/sr0 f=[output.iso]
May affect permissions or system state. Check the target first.
wash -i [wlan0mon]
Copy it and replace filenames, paths, or keywords as needed.
tldr restore
Copy it and replace filenames, paths, or keywords as needed.
sudo recoverpy
May affect permissions or system state. Check the target first.
redu
Copy it and replace filenames, paths, or keywords as needed.
regedit
Copy it and replace filenames, paths, or keywords as needed.
restic -r [/path/to/repo] init
Copy it and replace filenames, paths, or keywords as needed.
resticprofile schedule [profile]
Copy it and replace filenames, paths, or keywords as needed.
resticprofile unschedule [profile]
Copy it and replace filenames, paths, or keywords as needed.
resticprofile backup
Copy it and replace filenames, paths, or keywords as needed.
restorecon [path/to/file_or_directory]
Copy it and replace filenames, paths, or keywords as needed.
sudo restorecond
May affect permissions or system state. Check the target first.
rip [file.txt]
Copy it and replace filenames, paths, or keywords as needed.
rmlint [/path/to/directory]
Copy it and replace filenames, paths, or keywords as needed.
rsync -av [source/] [destination/]
Requires network or a remote resource.
sudo rtcwake -m show -v
May affect permissions or system state. Check the target first.
rustic init
Copy it and replace filenames, paths, or keywords as needed.
safe set [secret/path] [key]=[value]
Copy it and replace filenames, paths, or keywords as needed.
sudo sfdisk -d [/dev/sdX] > [path/to/file.dump]
Uses pipes, overwrite, or deletion. Check paths and options first.
shred [file]
Copy it and replace filenames, paths, or keywords as needed.
spicetify apply
Copy it and replace filenames, paths, or keywords as needed.
sudo steamos-bootdebug status
May affect permissions or system state. Check the target first.
steamos-factory-reset
Copy it and replace filenames, paths, or keywords as needed.
sudo sulogin
May affect permissions or system state. Check the target first.
svnadmin create [/path/to/repo]
Copy it and replace filenames, paths, or keywords as needed.
syslinux -i [/dev/sdb1]
Copy it and replace filenames, paths, or keywords as needed.
systemctl default
Copy it and replace filenames, paths, or keywords as needed.
systemctl emergency
Copy it and replace filenames, paths, or keywords as needed.
systemctl get-default
Copy it and replace filenames, paths, or keywords as needed.
systemctl hybrid-sleep
Copy it and replace filenames, paths, or keywords as needed.
systemctl rescue
Copy it and replace filenames, paths, or keywords as needed.
systemctl restart [unit]
Copy it and replace filenames, paths, or keywords as needed.
systemctl revert [unit1 unit2 ...]
Copy it and replace filenames, paths, or keywords as needed.
tarsnap-keygen --keyfile [/root/tarsnap.key] --user [email@example.com] --machine [hostname]
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.
telinit 0
Copy it and replace filenames, paths, or keywords as needed.
sudo testdisk
May affect permissions or system state. Check the target first.
tgcloud login
Copy it and replace filenames, paths, or keywords as needed.
sudo timeshift --list
May affect permissions or system state. Check the target first.