System Recovery commands

找到 198 条

File inspection

72 commands

ack

grep-like source code search tool for programmers

ack [pattern]
Details

aircrack-ng

Crack WEP and WPA/WPA2 wireless encryption keys

aircrack-ng -w [wordlist.txt] [capture.cap]
Details

autopsy

Web-based digital forensics analysis interface

autopsy
Details

bibiman

TUI for managing BibLaTeX databases with Vim-like keybindings

bibiman [path/to/references.bib]
Details

btrfs-send

Generate a stream of btrfs subvolume changes for backup and replication

btrfs send [/path/to/snapshot]
Details

bulk_extractor

High-performance digital forensics data extraction tool

bulk_extractor -o [output_dir] [image.dd]
Details

bup

Git-based backup system with deduplication

bup init
Details

bzexe

Compress executables into self-extracting archives

bzexe [path/to/executable]
Details

caligula

Write disk images to USB drives safely

caligula burn [path/to/image.iso]
Details

cli53

Amazon Route 53 DNS management tool

cli53 list
Details

dirbuster

Java-based web content discovery tool

dirbuster -u [http://example.com]
Details

dirsearch

web path brute-force scanner for content discovery

dirsearch -u [https://example.com]
Details

docker-save

save Docker images to tar archives

docker save -o [image.tar] [image]
Details

e2image

save ext filesystem metadata images

e2image [/dev/sdXN] [path/to/image_file]
Details

ecryptfs

stacked cryptographic filesystem

sudo mount -t ecryptfs [/encrypted] [/mnt/decrypted]
Details

extundelete

ext3/ext4 file recovery utility

sudo extundelete [/dev/sdXN] --restore-all
Details

filen

end-to-end encrypted cloud storage CLI

filen login
Details

fixfiles

fix SELinux file security contexts

fixfiles restore
Details

fstab

filesystem mount configuration file

cat /etc/fstab
Details

gcloud-sql-export-sql

exports Cloud SQL data to storage

gcloud sql export sql [instance] [gs://bucket/file.sql] --database [db_name]
Details

gdisk

interactive GPT partitioning tool

sudo gdisk -l
Details

gedit

text editor for GNOME desktop environment

gedit [path/to/file]
Details

git-add

Stage changes in the working directory for next commit

git add [path/to/file]
Details

git-fsck

Verify connectivity and validity of repository objects

git fsck
Details

gocryptfs

Encrypted overlay filesystem using FUSE

gocryptfs -init [cipher-dir]
Details

gomi

Trash CLI tool written in Go

gomi [file1] [file2]
Details

grub-editenv

manage GRUB environment block variables

grub-editenv /boot/grub/grubenv set default=Ubuntu
Details

grub-file

check boot image file type

grub-file --is-arm-efi [path/to/file]
Details

grub-mklayout

create GRUB keyboard layout files

grub-mklayout -o [layout.gkb] < [layout.ckb]
Details

grub-mount

mount filesystems using GRUB's drivers via FUSE

grub-mount [/dev/sdXY] [/mnt]
Details

Directory listing

64 commands

amrecover

Interactively browse and restore Amanda backups

amrecover [config_name]
Details

apt-clone

Backup and restore installed package states

sudo apt-clone clone [path/to/directory]
Details

attr

Manipulate extended attributes on filesystem objects

attr -s [attribute_name] -V [value] [path/to/file]
Details

bkp

simple utility for creating backups of files and directories

bkp [path/to/file]
Details

btrfs-rescue

Recovery tools for damaged btrfs filesystems

sudo btrfs rescue chunk-recover [path/to/partition]
Details

btrfs

Manage btrfs copy-on-write filesystems

sudo btrfs subvolume create path/to/subvolume
Details

bully

Brute-force WPS pins to recover WPA/WPA2 passphrases

bully -b [mac] -c [channel] [interface]
Details

clogin

automated login to Cisco network devices

clogin [hostname]
Details

conda-create

create isolated conda environments

conda create --name [env_name] python=[3.11]
Details

criu

Checkpoint and restore running processes in userspace

criu check
Details

date

display or set the system date and time

date
Details

dbx

command-line interface for Dropbox cloud storage

dbx auth login
Details

dd

Convert and copy files at the block level

sudo dd if=[path/to/file.iso] of=[/dev/usb_drive] status=progress
Details

ddrescue

data recovery tool for failing drives

sudo ddrescue [/dev/sdb] [path/to/image.dd] [path/to/log.txt]
Details

depsguard

Harden npm, pnpm, yarn, bun and uv configurations against supply-chain risk

depsguard
Details

dirb

web directory brute-force scanner

dirb [https://example.org]
Details

dump

ext2/ext3/ext4 filesystem backup utility

dump -0uf [/backup/root.dump] [/dev/sda1]
Details

fdupes

find and remove duplicate files

fdupes [/path/to/directory]
Details

fsadm

LVM filesystem management utility

fsadm check /dev/vg_name/lv_name
Details

fsck

filesystem check and repair utility

sudo fsck /dev/sdXN
Details

fswatch

cross-platform file change monitor

fswatch [/path/to/directory]
Details

gdrive

command-line client for Google Drive

gdrive files list
Details

getnpusers.py

AS-REP roasting tool for domain user enumeration

GetNPUsers.py [DOMAIN]/[username]:[password] -request -format hashcat -outputfile [hashes.txt]
Details

git-checkout

Switch branches or restore working tree files

git checkout [branch-name]
Details

git-clone

Clone a remote repository

git clone [https://github.com/owner/repo.git]
Details

git-restore

Restore working tree files or unstage changes

git restore [file]
Details

grub-install

install GRUB bootloader to a device

sudo grub-install [/dev/device]
Details

grub-probe

probe device and filesystem information for GRUB

sudo grub-probe -t fs /boot/grub
Details

grubby

command-line bootloader configuration tool for Red Hat systems

sudo grubby --update-kernel=ALL --args 'quiet console=ttyS0'
Details

gtrash

Featureful trash CLI manager and safe rm alternative

gtrash put [path/to/file1] [path/to/file2]
Details

hp-clean

performs print head cleaning on HP printers

hp-clean
Details

Text processing

27 commands

aws-dynamodb

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
Details

bmaptool

Flash disk images efficiently using block maps

sudo bmaptool copy [image.img] [/dev/sdX]
Details

boot

Linux system startup process documentation

man 7 boot
Details

dcfldd

forensic disk imaging tool with hashing

dcfldd if=[/dev/sda] of=[disk.img]
Details

flask-unsign

Flask session cookie manipulation and cracking

flask-unsign --decode --cookie "[cookie_value]"
Details

fsarchiver

filesystem backup and restore tool

sudo fsarchiver savefs [archive.fsa] [/dev/sda1]
Details

gh-cache

manage GitHub Actions workflow caches

gh cache list
Details

keycloak

CLI for Keycloak, an open-source identity and access management

kc.sh start-dev
Details

linux-boot-prober

probes a partition for bootable Linux operating systems

sudo linux-boot-prober /dev/sdXY
Details

ludusavi

backs up and restores video game save data

ludusavi backup
Details

on_ac_power

tests whether the system is running on AC power

on_ac_power && echo "AC" || echo "Battery"
Details

partclone

creates and restores partition images while skipping empty blocks

sudo partclone.ext4 -c -s /dev/sdXY -o [path/to/backup.img]
Details

pass-otp

extends pass with TOTP/HOTP support

pass otp [path/to/entry]
Details

sulogin

Single-user mode root login prompt

sudo sulogin
Details

tarsnap

Encrypted deduplicated online backup

tarsnap -c -f [backup-name] [/path/to/backup]
Details

velero

Kubernetes cluster backup and restore

velero backup create [backup-name]
Details

Search and filters

22 commands

aws-backup

Centrally manage backups across AWS services

aws backup create-backup-vault --backup-vault-name [vault_name]
Details

borg

Deduplicating backup with compression and encryption

borg init --encryption=[repokey] [/path/to/repo]
Details

borgbackup

Deduplicating backup with compression and encryption

borg init --encryption=repokey [/path/to/repo]
Details

crackle

crack Bluetooth Low Energy encryption

crackle -i [capture.pcap]
Details

dconf

GNOME configuration database management tool

dconf read /[path/to/key]
Details

debugfs

interactive debugger for ext2/ext3/ext4 filesystems

debugfs [/dev/sdXN]
Details

git-replace

Create, list, or delete object replacement refs

git replace [object] [replacement]
Details

grub-mkfont

convert fonts to GRUB PF2 format

grub-mkfont -o [output.pf2] [input.ttf]
Details

grub-reboot

set default boot entry for next reboot only

sudo grub-reboot [entry_number]
Details

ophcrack

windows password cracker that uses rainbow tables to recover passwords from LM

ophcrack -g -d [path/to/tables] -f [hashes.txt]
Details

pgbackrest

Reliable PostgreSQL backup and restore tool

pgbackrest --stanza=[name] stanza-create
Details

reaver

WPS brute-force attack tool for WiFi networks

wash -i [wlan0mon]
Details

recover

alias for restore — extract files from a dump(8) backup

tldr restore
Details

recoverpy

Interactively find and recover deleted or overwritten files from your terminal

sudo recoverpy
Details

timeshift

System backup and restore using snapshots

sudo timeshift --list
Details

zfs-receive

Receive ZFS snapshot replication streams

zfs receive [pool/dataset] < [backup.zfs]
Details

Network diagnostics

16 commands

alsactl

Save and restore ALSA sound card settings.

sudo alsactl store
Details

amcheck

Verify Amanda backup configuration before a run

amcheck [config_name]
Details

andcli

2FA TOTP token manager TUI for the terminal

andcli -t aegis [path/to/backup.json]
Details

aws-ce

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
Details

git-stash

Temporarily save uncommitted changes for later

git stash
Details

l2ping

sends L2CAP echo requests to a Bluetooth device, similar to ping for IP networks

l2ping [AA:BB:CC:DD:EE:FF]
Details

macchanger

manipulates the MAC address of network interfaces

macchanger -s [eth0]
Details

plesk

Command-line interface for Plesk hosting panel

plesk version
Details

qm-destroy

Permanently remove a Proxmox virtual machine

qm destroy 100
Details

restic

Fast and secure deduplicated backup tool

restic -r [/path/to/repo] init
Details

svnadmin

Subversion repository administration tool

svnadmin create [/path/to/repo]
Details

xmount

Virtual disk image format conversion

xmount --in raw [path/to/image.dd] --out dmg [mountpoint]
Details

Processes and services

13 commands

btrbk

Backup tool for btrfs snapshots and subvolumes

sudo btrbk stats
Details

gyb

command-line tool for backing up and restoring Gmail

gyb --email [user@gmail.com] --action backup
Details

idevicebackup

creates and restores backups of iOS devices

idevicebackup backup [backup-dir]
Details

idevicebackup2

creates and restores backups of iOS devices running iOS 4 and later

idevicebackup2 backup [backup-dir]
Details

rustic

Fast encrypted deduplicated backup tool

rustic init
Details

tgcloud

Manage TigerGraph Cloud instances

tgcloud login
Details

File operations

12 commands

duplicacy

lock-free cloud backup with deduplication

duplicacy init [snapshot_id] [/path/to/storage]
Details

gcrane-copy

copies container images between registries

gcrane copy [source_image] [dest_image]
Details

gobackup

Backup tool for databases and files

gobackup perform
Details

immich

self-hosted photo and video backup solution

docker compose up -d
Details

pvck

Check and repair LVM physical volume metadata

sudo pvck /dev/sdX1 --dump headers
Details

ranger

Terminal file manager with vim keybindings

ranger
Details

rip

a safe and ergonomic alternative to rm

rip [file.txt]
Details

rtcwake

Schedule system wake from sleep using RTC alarm

sudo rtcwake -m show -v
Details

shred

Securely overwrite and delete files

shred [file]
Details

trash

move files to recoverable FreeDesktop.org trash

trash [path/to/file]
Details

zerotier-idtool

Manage ZeroTier cryptographic identities

zerotier-idtool generate [identity.secret]
Details

Archive and compression

5 commands

btrfs-restore

Salvage files from a damaged btrfs filesystem

sudo btrfs restore [path/to/btrfs_device] [path/to/target_directory]
Details

mkosi

builds customized, modern Linux OS images

mkosi summary
Details

pg_restore

restores PostgreSQL databases from archives created by pg_dump

pg_restore -d [database] [backup.dump]
Details

Shell workflow

2 commands

amadmin

Administrative interface for Amanda backup management

amadmin [config_name] config
Details

pg_rewind

synchronize a PostgreSQL data directory with another copy

pg_rewind -D [target_dir] --source-server="host=[host] user=[rewind_user] dbname=[postgres]"
Details

qm commands

2 commands

Media tools

1 commands

SSH and remote access

1 commands

duplicity

encrypted bandwidth-efficient backup tool

duplicity [/path/to/source] [sftp://user@host/backup]
Details

Security tools

1 commands

paperkey

extracts printable GPG key data

paperkey --secret-key [secret.gpg] --output [paperkey.txt]
Details

Users and permissions

1 commands

grub

GRand Unified Bootloader for Linux systems

sudo grub
Details

bdfr commands

1 commands

bdfr

Bulk download submissions and media from Reddit

bdfr download [./output] --subreddit [Python] -L [10]
Details

bmm commands

1 commands

bmm

Fast local bookmark manager with CLI and TUI

bmm
Details

cryptsetup commands

1 commands

cryptsetup

dm-crypt and LUKS encrypted volume manager

cryptsetup luksFormat /dev/sda1
Details

dd commands

1 commands

exo commands

1 commands

frotz commands

1 commands

frotz

Z-machine interactive fiction interpreter

frotz [game.z5]
Details

grub-glue-efi commands

1 commands

grub-glue-efi

combine 32-bit and 64-bit EFI binaries

grub-glue-efi -3 [ia32.efi] -6 [x64.efi] -o [boot.efi]
Details

jj commands

1 commands

jj-revert

creates a new commit that undoes the changes from specified revisions

jj revert -r [revision]
Details

neo4j-admin commands

1 commands

neo4j-admin

administers Neo4j databases

neo4j-admin database dump --to-path=[/backups] [neo4j]
Details

pacrepairdb commands

1 commands

pacrepairdb

fixes corrupted database entries in the libalpm database

pacrepairdb package_name
Details

pct commands

1 commands

pct-clone

creates a copy of an existing Proxmox LXC container

pct clone [template_id] [new_id]
Details

pg_basebackup commands

1 commands

pg_basebackup

creates a base backup of a PostgreSQL cluster

pg_basebackup -D [backup_dir] -h [host] -U [user]
Details

pg_dump commands

1 commands

pg_dump

utility for backing up PostgreSQL databases

pg_dump [database_name] > [backup.sql]
Details

pg_dumpall commands

1 commands

pg_dumpall

extracts all PostgreSQL databases including cluster-wide objects like roles

pg_dumpall > [backup.sql]
Details

pg_upgrade commands

1 commands

pg_upgrade

upgrades PostgreSQL to a new major version in place

pg_upgrade -b [old_bindir] -B [new_bindir] -d [old_datadir] -D [new_datadir]
Details

phpbu commands

1 commands

qmrestore commands

1 commands

qmrestore

Restore Proxmox VMs from backup archives

qmrestore path/to/vzdump-qemu-100.vma.lzo 100
Details

telinit commands

1 commands

tldr commands

1 commands

tlmgr commands

1 commands

tuisky commands

1 commands

tuisky

TUI client for the Bluesky social network

tuisky
Details

unar commands

1 commands

unar

Universal multi-format archive extractor

unar [archive.zip]
Details

vagrant commands

1 commands