Count lines in a file
Useful Linux one-liner
wc -l file.txt
Linux basics
386 Files & Folders Linux command examples grouped into 84 practical sections.
Browse grouped command cards or search directly below.
1152 commands
Useful Linux one-liner
wc -l file.txt
Useful Linux one-liner
sort file | uniq
Useful Linux one-liner
wget -c url
Useful Linux one-liner
> file.txt
Useful Linux one-liner
tail -f logfile
Useful Linux one-liner
gpg -c file
Useful Linux one-liner
split -b 1G largefile part-
Useful Linux one-liner
sha256sum file
Useful Linux one-liner
nl file.txt
Useful Linux one-liner
dos2unix file
Useful Linux one-liner
pdftotext file.pdf - | less
Useful Linux one-liner
a() { case $1 in *.tar.gz) tar xzf $1;; *.zip) unzip $1;; esac; }; a file
Useful Linux one-liner
truncate -s 10G file.img
command-line two-factor authentication code generator
2fa -add [account_name]
high-compression file archiver supporting multiple formats
7z a [archive.7z] [files...]
standalone file archiver from the 7-Zip family
7za a [archive.7z] [files...]
minimal 7z-only file archiver
7zr a [archive.7z] [files...]
disable an Apache2 configuration file
sudo a2disconf [configuration_file]
Translate awk scripts to Perl
a2p [script.awk] > [script.pl]
Clean AppArmor profiles by removing redundant rules
sudo aa-cleanprof [profile_name]
Android resource packaging tool
aapt list [app.apk]
generate UUID from coredump for crash deduplication
abrt-action-analyze-c
generate human-readable backtrace from a coredump
abrt-action-generate-backtrace -d [/var/spool/abrt/ccpp-2024-01-15]
display user connect time statistics
ac
grep-like source code search tool for programmers
ack [pattern]
autoconf macro collector for GNU build system
aclocal
Adaptable modal text editor
ad [path/to/file]
List and filter installed Android packages
adb shell pm list packages
Translate addresses to source file locations
addr2line -e [path/to/executable] [address]
Adobe font metrics to TeX font metrics converter
afm2tfm [font.afm] [font.tfm]
inspect age-encrypted files without decrypting them
age-inspect [secrets.age]
Simple and modern file encryption
age -p [file.txt] > [file.txt.age]
Detect file system changes for intrusion detection
sudo aide -i
Remove WEP cloaking from wireless capture files
airdecloak-ng -i [capture.cap] --bssid [00:11:22:33:44:55]
Query JSON data using JSONPath expressions
ajson '$.store.book[*].author' [file.json]
GPU-accelerated terminal emulator
alacritty
809 commands
Useful Linux one-liner
mkdir project{01..100}
Useful Linux one-liner
du -h . | sort -hr | head -20
Useful Linux one-liner
ls -lt
Useful Linux one-liner
mkdir dir && cd dir
Useful Linux one-liner
ls -d */
Useful Linux one-liner
tree
Useful Linux one-liner
ls | wc -l
Render 3D models as ASCII art in the terminal
3d-ascii-viewer [path/to/model.obj]
enable or disable process accounting
sudo accton [/var/log/account/pacct]
fine-grained file permission management
getfacl [path/to/file]
Android application installer
adb install [app.apk]
Register valid login shells
sudo add-shell [/usr/local/bin/zsh]
STL mesh analysis, repair, and transformation tool
admesh [path/to/model.stl]
Serve content over the Gemini protocol
agate --content [/var/gemini] --hostname [example.com]
Test runner for AI agent skills
npx agent-skills-eval [./skills]
Command-line download/upload tool with resume
aim [https://domain.com/file.tar.gz] .
Live-reloading development server for Go applications
air
Decrypt WEP and WPA/WPA2 encrypted capture files
airdecap-ng -w [hex_key] [capture.cap]
Update the IEEE OUI manufacturer database
sudo airodump-ng-oui-update
Handle alert deduplication, grouping, and routing for Prometheus
alertmanager --config.file=[alertmanager.yml]
Interactively browse and restore Amanda backups
amrecover [config_name]
CLI for building Angular web applications
ng new [project-name]
Generate parsers from grammar files
antlr4 [Grammar.g4]
Run OSS applications using ALSA emulation
aoss [application]
File bug reports with automatic system diagnostics.
apport-bug
Open an interactive shell inside a container
apptainer shell [container.sif]
Backup and restore installed package states
sudo apt-clone clone [path/to/directory]
CLI for Apple Passwords on macOS
apw start
TUI client for the aria2 download manager
aria2tui
Translate assembly language source into object files.
as [path/to/file.s]
ASCII file transfer over serial connections
ascii-xfr -s [path/to/file]
Convert AsciiDoc markup to HTML and DocBook
asciidoc [document.txt]
Manage multiple runtime versions with a single tool
asdf plugin add [nodejs]
Structural code search and rewrite using AST patterns
ast-grep --pattern 'console.log($ARG)'
Postman-like API client for the terminal
atac
Manipulate extended attributes on filesystem objects
attr -s [attribute_name] -V [value] [path/to/file]
197 commands
Useful Linux one-liner
cp file{,.bak}
Useful Linux one-liner
ln -s target link
Useful Linux one-liner
for f in *.txt; do mv "$f" "${f%.txt}.bak"; done
Find network-listening processes without AppArmor profiles
sudo aa-unconfined
macOS audio file format converter
afconvert -f m4af -d aac [input.wav] [output.m4a]
Share files between devices on the local network
airshare [mycode] [file.txt]
Manage Apptainer container platform configuration
sudo apptainer config fakeroot --add [username]
Discover hidden HTTP parameters in web applications
arjun -u [https://example.com/page]
Debug bare-metal ARM firmware interactively.
arm-none-eabi-gdb [firmware.elf]
wrap an ARM ELF printer firmware image with HP download header/trailer
arm2hpdl [sihp1005.img] > [sihp1005.dl]
Cross-platform audio recording/playback CLI tool with TUI
asak rec [output]
Automatically format Python code to PEP 8 style
autopep8 --in-place [file.py]
CLI for the Avo analytics tracking plan platform
avo init
Move files to, from, and between S3 buckets
aws s3 mv [file.txt] s3://[bucket-name]/
Delete objects from S3
aws s3 rm s3://[bucket-name]/[file.txt]
Deploy Azure resources using ARM templates and Bicep
az deployment group create --resource-group [rg_name] --template-file [template.json]
Flash OS images to SD cards and USB drives
balena-etcher
Cross-platform TUI Bluetooth manager
bluetuith
official CLI for interacting with Box cloud storage
box login
Upgrade the runtime itself
bun upgrade
Deploy and manage applications on CapRover
caprover login
cross-platform audio spectrum visualizer for the terminal
cava
distributed storage cluster management
ceph status
Versatile checksum file verifier and creator
cfv
Encrypted cloud storage and key-value database
charm kv set [key] [value]
multi-threaded antivirus scanning daemon
clamd
daemon-based virus scanner client
clamdscan [/path/to/scan]
AI-powered agentic coding assistant CLI
claude
shell-like command-line file manager
clifm
cross-platform build system generator
cmake -B [build]
Cockpit web service message relay
cockpit-bridge --packages
AI-powered terminal coding assistant
copilot
hybrid mobile app development framework
cordova create [myapp] [com.example.myapp] "[MyApp]"
Copy files and directories
cp [path/to/source.txt] [path/to/destination.txt]
Google C++ style guide checker
cpplint [file.cpp]
Modern fast file copy tool with progress bars
cpx [source.txt] [dest.txt]
154 commands
Useful Linux one-liner
find . -iname "*.log"
Useful Linux one-liner
find . -type f -size +100M
Useful Linux one-liner
find . -mtime +30 -delete
Useful Linux one-liner
find . -type d -empty -delete
Useful Linux one-liner
find . -xtype l
Enable Apache2 configuration files
sudo a2enconf [configuration_file]
Generate encryption key pairs for age
age-keygen
Catch insensitive, inconsiderate writing in text.
alex [file.md]
Search and stream anime from the terminal
ani-cli [anime_name]
Execute a command within an Apptainer container.
apptainer exec [container.sif] [command]
Display embedded help text from a container.
apptainer run-help [container.sif]
Search manual page descriptions by keyword
apropos [keyword]
Create and extract ARC format archives
arc a [archive.arc] [files]
Discover subdomains and related domains
assetfinder [example.com]
Manage cost budgets and spending alerts.
aws budgets create-budget --account-id [123456789012] --budget file://[budget.json]
Provision infrastructure from declarative templates.
aws cloudformation create-stack --stack-name [my-stack] --template-body file://[template.yaml]
Convert BIN/CUE CD images to ISO and audio tracks
bchunk [path/to/image.bin] [path/to/image.cue] [path/to/output]
Nucleotide-to-nucleotide sequence alignment search
blastn -query [query.fa] -subject [subject.fa] -evalue [1e-9]
Protein-to-protein sequence alignment search
blastp -query [query.fa] -subject [subject.fa] -evalue [1e-9]
Visualize Active Directory attack paths
bloodhound
Word search game on a grid of letter cubes
boggle
Shell syntax for grouping and expansion
{ [command1]; [command2]; }
Remove an installed Homebrew package
brew uninstall [formula]
Find and manage the minimum supported Rust version
cargo msrv find
Create a new Cargo package
cargo new [project_name]
Assemble a local package into a distributable archive
cargo package
find processes using outdated shared libraries
sudo checkrestart
audit security features in ELF binaries
checksec --file=[path/to/binary]
spelling checker for source code and text files
codespell
Python code coverage measurement tool
coverage run [script.py]
user cron table editor
crontab -e
reset dconf keys to default values
dconf reset /[path/to/key]
find orphaned packages on Debian-based systems
deborphan
DICT protocol dictionary client
dict [word]
multi-container Docker orchestration
docker-compose up
list Docker images stored locally
docker images
99 commands
Add font metric information to troff font files
addftinfo [resolution] [unitwidth] [font] < [input.tfm] > [output.tfm]
Archive authentication and trust model documentation.
man apt-secure
Sort package index files
apt-sortpkgs [Packages] > [Packages.sorted]
Bundle aptitude state for bug reports
aptitude-create-state-bundle [bundle.tar.bz2]
Create and manage static library archives
ar rcs [archive.a] [file1.o] [file2.o]
Mount archive files as virtual filesystems via FUSE
archivemount [path/to/archive] [path/to/mount_point]
Remove unused imports and variables from Python code
autoflake --in-place --remove-unused-variables [file.py]
CLI tool for searching Homebrew and Linuxbrew formulae and casks
bbrew search [query]
Block compression with random access support for genomics data
bgzip [file.vcf]
Cloudflare API v4 command-line client
cli4 /zones
Cryptographic Message Syntax operations via OpenSSL
openssl cms -sign -in [file.txt] -out [signed.p7m] -signer [cert.pem] -inkey [key.pem]
Markdown-based API test specification runner
cotton [spec.md]
time-based job scheduler daemon
crontab -e
extract sections from lines of files
cut -f [1,3] [file.txt]
generate kernel module dependency files
depmod
distributed C/C++ compilation across network hosts
distcc [gcc] -c [file.c] -o [file.o]
standard Unix line editor
ed [file.txt]
Manage file-based Elasticsearch users
elasticsearch-users list
Python code linter and style checker
flake8 [file.py]
filesystem backup and restore tool
sudo fsarchiver savefs [archive.fsa] [/dev/sda1]
decrypt data using Cloud KMS keys
gcloud kms decrypt --ciphertext-file=[encrypted.enc] --plaintext-file=[decrypted.txt] --key=[key] --keyring=[keyring] --location=[global]
POSIX shell builtin for option parsing
while getopts "ab:c" opt; do case $opt in a) echo "Option a";; b) echo "Option b with arg: $OPTARG";; c) echo "Option c";; esac; done
manage GitHub Actions workflow caches
gh cache list
Clean up whitespace in Git messages
git stripspace < [file]
Meta-build system that generates Ninja files
gn gen [out/Default]
Simplified OpenPGP signature verifier
gpgv [file.sig]
Groff terminal output driver
groff -Tutf8 [file.roff]
Terminal interface for viewing Git repositories
grv
extracts and displays Intel graphics BIOS information
intel_bios_reader --file=[bios.bin]
sorts Python imports alphabetically and separates them into sections
isort [file.py]
interactive spell checker
ispell [file.txt]
TUI file-sharing tool using the LocalSend protocol
jocalsend
joe's Own Editor, a terminal text editor
joe [file.txt]
formats JavaScript, HTML, and CSS files with consistent indentation and style
js-beautify [file.js]
Terminal-based Kanban board task manager
kanban-tui
Minimal terminal AI coding agent with pluggable LLM providers
keen
31 commands
CSS code quality checker
csslint [file.css]
convert CoffeeScript to modern JavaScript
decaffeinate [file.coffee]
Lock package versions to prevent updates
dnf versionlock list
dotfiles bootstrapping automation tool
dotbot -c [install.conf.yaml]
Rebase with patch application
git rebase-patch [patch_file]
Common shell library for Git scripts
. "$(git --exec-path)/git-sh-setup"
command-line interface for GnuCash reports and quotes
gnucash-cli --quotes get [file.gnucash]
Signal Messenger client for the terminal
gurk
List information about block devices
lsblk
creates block devices, character devices, or FIFOs as special files
sudo mknod [path/to/device_file] b [major_device_number] [minor_device_number]
manages lightweight NixOS containers using Linux namespaces
sudo nixos-container list
ruby HTML/XML parser CLI
nokogiri [file.html]
neovim, a modern Vim fork
nvim [file]
Interactive NVIDIA GPU process viewer and monitor
nvitop
Manage MaxCompute user-defined functions from odpscmd
list functions;
Python 3 package installer
pip3 install [package]
Maintain documentation translations via PO files
po4a [path/to/config_file]
Report running process status
ps aux
Convert raw RGB data to PPM format
rawtoppm [width] [height] [input.raw] > [output.ppm]
Render rich text and markdown in terminal
python -m rich.markdown [file.md]
View files in read-only nano editor
rnano [file]
Repair corrupted scamper warts files
sc_wartsfix [input.warts] > [fixed.warts]
Scala source code compiler
scalac [Hello.scala]
PipeWire resampler debugging utility
spa-resample -r [48000] [input.wav] [output.wav]
Control Transmission daemon remotely
transmission-remote -l
Vite-powered static site generator
vitepress dev [docs]
Cisco-compatible IPSec VPN client
sudo vpnc [config_file]
Build Vue.js applications for production
vue build
Fast CSV command-line toolkit
xsv headers [file.csv]
Pattern matching for malware detection
yara [rules.yar] [file]
Configure YubiKey authentication slots
ykpersonalize -v
26 commands
Source code formatter for C, C++, C#, and Java
astyle [file.cpp]
POSIX-standard C99 compiler interface
c99 [file.c] -o [output]
export flattened image filesystem
crane export [image] [output.tar]
remove files from version control
fossil delete [file]
command-line webcam image capture
fswebcam [image.jpg]
manage code snippets and shareable files
gh gist create [file]
Generate a 3D model of your GitHub contribution history
gh skyline
Compiler for the Haskell functional programming language
ghc [file.hs]
format Go source code to standard style
go fmt [file.go]
Animated version control history visualization
gource
GNOME GResource bundle inspector
gresource list [file.gresource]
displays repository commit history
hg log
converts source code to formatted output with syntax highlighting
highlight [file.py]
Generate open source license files
license list
mono C# compiler
mcs [program.cs]
displays vector data information
ogrinfo [file.shp]
Oh My Zsh management CLI
omz update
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]"
Format and extract SQL strings embedded in Python source files
py-sql-cleaner list jobs/load_users.py
Extract translatable strings from Python code
pygettext [script.py]
Generate Ruby documentation from source code
rdoc [file.rb]
Modern Scala command-line runner and build tool
scala-cli [script.sc]
POSIX-compliant command interpreter
sh
Convert between measurement units
units
Open-source disk encryption software
veracrypt -t -c --random-source=/dev/urandom
19 commands
Adobe font metrics to groff font description converter
afmtodit [font.afm] [textmap] [fontname]
automatic source code formatter for C-family languages
clang-format [file.cpp]
view compose service logs
docker compose logs
start compose services
docker compose up
UEFI boot entry decoder
efibootdump -f [/sys/firmware/efi/efivars/Boot0000-8be4df61-93ca-11d2-aa0d-00e098032b8c]
MATE desktop archive manager
engrampa [path/to/archive1.tar] [path/to/archive2.tar]
capture framebuffer screenshots to PNG
fbgrab [screenshot.png]
Grap graph to image converter
grap2graph [file.grap] > output.png
Groff preprocessor for Gremlin graphics
grn [file.grn] | groff > output.ps
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]
adds cryptographic signatures to in-toto metadata files
in-toto-sign -k [key.pem] -f [link_file]
command-line system information tool with ASCII art
neofetch
transfers data to/from MaxCompute
odps tunnel upload [file] [project.table]
converts PBM bitmaps to GraphOn terminal graphics format
pbmtogo [input.pbm] > [output.go]
Convert PNM images to PostScript
pnmtops [input.pnm] > [output.ps]
Protocol Buffers compiler and code generator
protoc --python_out=[path/to/output_directory] [input_file.proto]
Disable then re-enable a unit
systemctl reenable [unit]
Reload service configuration without restart
systemctl reload nginx
15 commands
Useful Linux one-liner
tar czf backup.tar.gz directory/
Useful Linux one-liner
tar xzf archive.tar.gz
Useful Linux one-liner
tar cjf archive.tar.bz2 dir/
load Docker images from tar archives
docker load -i [image.tar]
Extract commit ID from tar archive
git get-tar-commit-id < [archive.tar]
Create and restore GitLab instance backups
sudo gitlab-backup create
manages disk images for systemd containers and system extensions
sudo importctl pull-tar [URL] [name]
parallel bzip2 compressor and decompressor
lbzip2 [file]
builds customized, modern Linux OS images
mkosi summary
POSIX archiver
pax -wf [archive.pax] [directory]
restores PostgreSQL databases from archives created by pg_dump
pg_restore -d [database] [backup.dump]
Export container filesystem as tar archive
podman export [container] -o [container.tar]
Load container images from tar archives
podman image load -i [image.tar]
Generate random identity data
rig
Extract files from ZIP archives
unzip [archive.zip]
9 commands
Search and query audit log events
sudo ausearch -m avc
COPR build system client
copr-cli whoami
D programming language reference compiler
dmd [file.d]
command-line HTML5 validation tool using the Nu Html Checker
html5validator [file.html]
simple program to insert a module into the Linux kernel
sudo insmod path/to/module.ko
removes configuration values from Jujutsu config files
jj config unset --user [key]
Manage a PPPoE DSL connection
sudo pppoe-connect
Sign RPM packages with GPG keys
rpmsign --addsign [package.rpm]
Clear Linux software update and bundle manager
sudo swupd update
8 commands
GUI version of Vim
gvim [file]
post-modern modal text editor inspired by Kakoune and Vim
hx [file]
modal text editor inspired by Vim
kak [file.txt]
simple text editor
nano [file.txt]
text-to-speech synthesizer using the SVOX Pico engine
pico2wave -w [output.wav] "[Hello world]"
Classic Unix visual text editor
vi [file]
Open files in read-only Vim mode
view [file]
Highly configurable modal text editor
vim [file]
8 commands
List installed Homebrew packages
brew list
generates shell completion scripts
npm completion
shows why a package is installed
npm explain [package-name]
searches for duplicate packages in node_modules
npm find-dupes
creates a new package
npm init
removes packages not in dependencies
npm prune
Add packages to Arch Linux repository
repo-add path/to/database.db.tar.gz
APT-like package manager for Slackware
slapt-get --update
5 commands
Edit XML documents from command line
xml edit -u "[//element]" -v "[new value]" [file.xml]
List XML element names and paths
xml elements [file.xml]
List element structure of an XML document
xml el [file.xml]
Query XML documents with XPath
xml select -t -v "[//element]" [file.xml]
Validate XML against schemas
xml val [file.xml]
4 commands
Parse and display ASN.1 encoded data
openssl asn1parse -in [file.der]
Compute and verify BLAKE3 cryptographic checksums.
b3sum [file]
converts Markdown-formatted text to HTML
markdown [file.md]
Validate X.509 certificate chains
openssl verify [certificate.pem]
3 commands
3 commands
3 commands
2 commands
Interactive web server for inspecting and mocking HTTP requests
httplab
Bulk data transfer for MaxCompute tables
odpscmd tunnel upload [file.csv] [project.table]
2 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]
2 commands
Apply patches to files and the index
git apply [patch.diff]
Resolve canonical author and committer identities
git check-mailmap "[Name] <email@example.com>"
2 commands
lists account names from the journal
hledger accounts
adds transactions from CSV or other files to a journal
hledger import [file.csv]
2 commands
Import VMs from OVF/OVA files
vboxmanage import [file.ova]
Register existing VM with VirtualBox
vboxmanage registervm [path/to/vmname.vbox]
1 commands
1 commands
1 commands
Check for Advanced Power Management support
apm_available && echo "APM supported"
1 commands
Replay aptitude state from a bundle
aptitude-run-state-bundle [bundle.tar.bz2]
1 commands
1 commands
1 commands
1 commands
Extract Microsoft cabinet archives
cabextract [file.cab]
1 commands
1 commands
1 commands
ebook metadata editor
ebook-meta [book.epub]
1 commands
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
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
analyzes LLVM bitcode files
llvm-bcanalyzer [file.bc]
1 commands
1 commands
displays information about object files
llvm-objdump -d [file.o]
1 commands
extracts printable strings from binary files
llvm-strings [file]
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
creates a new LXC container in Proxmox VE from a template image
pct create 100 local:vztmpl/distro.tar.zst --rootfs local-lvm:4
1 commands
creates a base backup of a PostgreSQL cluster
pg_basebackup -D [backup_dir] -h [host] -U [user]
1 commands
enables, disables, or verifies data checksums
pg_checksums -e -D [data_dir]
1 commands
displays PostgreSQL cluster control information
pg_controldata [data_dir]
1 commands
converts a physical standby to logical replication subscriber
pg_createsubscriber -d [dbname] -D [data_dir] -P [conninfo]
1 commands
streams WAL from server to archive
pg_receivewal -D [wal_dir] -h [host] -U [username]
1 commands
1 commands
1 commands
Validate Perl POD documentation syntax
podchecker [file.pod]
1 commands
1 commands
1 commands
1 commands
1 commands
1 commands
Metrics collection and monitoring toolkit
prometheus --config.file=[prometheus.yml]
1 commands
1 commands
1 commands
1 commands
SonarQube static code analysis scanner
sonar-scanner
1 commands
1 commands
1 commands
1 commands
Useful Linux one-liner
xmllint --format file.xml
mkdir project{01..100}
Copy it and replace filenames, paths, or keywords as needed.
cp file{,.bak}
Copy it and replace filenames, paths, or keywords as needed.
du -h . | sort -hr | head -20
Uses pipes, overwrite, or deletion. Check paths and options first.
tar czf backup.tar.gz directory/
Copy it and replace filenames, paths, or keywords as needed.
tar xzf archive.tar.gz
Copy it and replace filenames, paths, or keywords as needed.
wc -l file.txt
Copy it and replace filenames, paths, or keywords as needed.
sort file | uniq
Uses pipes, overwrite, or deletion. Check paths and options first.
find . -iname "*.log"
Copy it and replace filenames, paths, or keywords as needed.
find . -type f -size +100M
Copy it and replace filenames, paths, or keywords as needed.
wget -c url
Requires network or a remote resource.
ls -lt
Copy it and replace filenames, paths, or keywords as needed.
> file.txt
Uses pipes, overwrite, or deletion. Check paths and options first.
mkdir dir && cd dir
Uses pipes, overwrite, or deletion. Check paths and options first.
tar cjf archive.tar.bz2 dir/
Copy it and replace filenames, paths, or keywords as needed.
xmllint --format file.xml
Copy it and replace filenames, paths, or keywords as needed.
tail -f logfile
Copy it and replace filenames, paths, or keywords as needed.
ls -d */
Copy it and replace filenames, paths, or keywords as needed.
tree
Copy it and replace filenames, paths, or keywords as needed.
ln -s target link
Copy it and replace filenames, paths, or keywords as needed.
find . -mtime +30 -delete
Copy it and replace filenames, paths, or keywords as needed.
find . -type d -empty -delete
Copy it and replace filenames, paths, or keywords as needed.
gpg -c file
May affect permissions or system state. Check the target first.
split -b 1G largefile part-
Copy it and replace filenames, paths, or keywords as needed.
sha256sum file
Copy it and replace filenames, paths, or keywords as needed.
nl file.txt
Copy it and replace filenames, paths, or keywords as needed.
dos2unix file
Copy it and replace filenames, paths, or keywords as needed.
pdftotext file.pdf - | less
Uses pipes, overwrite, or deletion. Check paths and options first.
ls | wc -l
Uses pipes, overwrite, or deletion. Check paths and options first.
find . -xtype l
Copy it and replace filenames, paths, or keywords as needed.
a() { case $1 in *.tar.gz) tar xzf $1;; *.zip) unzip $1;; esac; }; a file
Uses pipes, overwrite, or deletion. Check paths and options first.
truncate -s 10G file.img
Copy it and replace filenames, paths, or keywords as needed.
for f in *.txt; do mv "$f" "${f%.txt}.bak"; done
Uses pipes, overwrite, or deletion. Check paths and options first.
2fa -add [account_name]
May affect permissions or system state. Check the target first.
3d-ascii-viewer [path/to/model.obj]
Copy it and replace filenames, paths, or keywords as needed.
7z a [archive.7z] [files...]
Copy it and replace filenames, paths, or keywords as needed.
7za a [archive.7z] [files...]
Copy it and replace filenames, paths, or keywords as needed.
7zr a [archive.7z] [files...]
Copy it and replace filenames, paths, or keywords as needed.
sudo a2disconf [configuration_file]
May affect permissions or system state. Check the target first.
sudo a2enconf [configuration_file]
May affect permissions or system state. Check the target first.
a2p [script.awk] > [script.pl]
Uses pipes, overwrite, or deletion. Check paths and options first.
sudo aa-cleanprof [profile_name]
May affect permissions or system state. Check the target first.
sudo aa-unconfined
May affect permissions or system state. Check the target first.
aapt list [app.apk]
Copy it and replace filenames, paths, or keywords as needed.
abrt-action-analyze-c
Copy it and replace filenames, paths, or keywords as needed.
abrt-action-generate-backtrace -d [/var/spool/abrt/ccpp-2024-01-15]
Copy it and replace filenames, paths, or keywords as needed.
ac
Copy it and replace filenames, paths, or keywords as needed.
sudo accton [/var/log/account/pacct]
May affect permissions or system state. Check the target first.
ack [pattern]
Copy it and replace filenames, paths, or keywords as needed.
getfacl [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
aclocal
Copy it and replace filenames, paths, or keywords as needed.
ad [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
adb install [app.apk]
Copy it and replace filenames, paths, or keywords as needed.
adb shell pm list packages
Copy it and replace filenames, paths, or keywords as needed.
sudo add-shell [/usr/local/bin/zsh]
May affect permissions or system state. Check the target first.
addftinfo [resolution] [unitwidth] [font] < [input.tfm] > [output.tfm]
Uses pipes, overwrite, or deletion. Check paths and options first.
addr2line -e [path/to/executable] [address]
Copy it and replace filenames, paths, or keywords as needed.
admesh [path/to/model.stl]
Copy it and replace filenames, paths, or keywords as needed.
afconvert -f m4af -d aac [input.wav] [output.m4a]
Copy it and replace filenames, paths, or keywords as needed.
afm2tfm [font.afm] [font.tfm]
Copy it and replace filenames, paths, or keywords as needed.
afmtodit [font.afm] [textmap] [fontname]
Copy it and replace filenames, paths, or keywords as needed.
agate --content [/var/gemini] --hostname [example.com]
Copy it and replace filenames, paths, or keywords as needed.
age-inspect [secrets.age]
Copy it and replace filenames, paths, or keywords as needed.
age-keygen
Copy it and replace filenames, paths, or keywords as needed.
age -p [file.txt] > [file.txt.age]
Uses pipes, overwrite, or deletion. Check paths and options first.
npx agent-skills-eval [./skills]
Copy it and replace filenames, paths, or keywords as needed.
sudo aide -i
May affect permissions or system state. Check the target first.
aim [https://domain.com/file.tar.gz] .
Copy it and replace filenames, paths, or keywords as needed.
air
Copy it and replace filenames, paths, or keywords as needed.
airdecap-ng -w [hex_key] [capture.cap]
Copy it and replace filenames, paths, or keywords as needed.
airdecloak-ng -i [capture.cap] --bssid [00:11:22:33:44:55]
Copy it and replace filenames, paths, or keywords as needed.
sudo airodump-ng-oui-update
May affect permissions or system state. Check the target first.
airshare [mycode] [file.txt]
Copy it and replace filenames, paths, or keywords as needed.
ajson '$.store.book[*].author' [file.json]
Copy it and replace filenames, paths, or keywords as needed.
alacritty
Copy it and replace filenames, paths, or keywords as needed.
alertmanager --config.file=[alertmanager.yml]
Copy it and replace filenames, paths, or keywords as needed.
alex [file.md]
Copy it and replace filenames, paths, or keywords as needed.
sudo alien -d [path/to/file]
May affect permissions or system state. Check the target first.
alt [path/to/file.rb]
Copy it and replace filenames, paths, or keywords as needed.
amdump [config_name]
Copy it and replace filenames, paths, or keywords as needed.
amp [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
amrecover [config_name]
Copy it and replace filenames, paths, or keywords as needed.
ng new [project-name]
Copy it and replace filenames, paths, or keywords as needed.
ani-cli [anime_name]
Copy it and replace filenames, paths, or keywords as needed.
antibody bundle < [plugins.txt]
Copy it and replace filenames, paths, or keywords as needed.
antlr4 [Grammar.g4]
Copy it and replace filenames, paths, or keywords as needed.
aoss [application]
Copy it and replace filenames, paths, or keywords as needed.
apisnip [input.yaml]
Copy it and replace filenames, paths, or keywords as needed.
aplay [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
aplaymidi -p [hw:1,0] [file.mid]
Copy it and replace filenames, paths, or keywords as needed.
apm_available && echo "APM supported"
Uses pipes, overwrite, or deletion. Check paths and options first.
sudo aa-status
May affect permissions or system state. Check the target first.
sudo apparmor_parser -a [profile_file]
May affect permissions or system state. Check the target first.
apport-bug
Copy it and replace filenames, paths, or keywords as needed.
apport-cli
Copy it and replace filenames, paths, or keywords as needed.
apport-unpack [/var/crash/_usr_bin_app.1000.crash] [output_directory]
Copy it and replace filenames, paths, or keywords as needed.
apptainer build [path/to/image.sif] [path/to/definition.def]
Copy it and replace filenames, paths, or keywords as needed.
sudo apptainer capability list --user [username]
May affect permissions or system state. Check the target first.
sudo apptainer config fakeroot --add [username]
May affect permissions or system state. Check the target first.
apptainer exec [container.sif] [command]
Copy it and replace filenames, paths, or keywords as needed.
apptainer inspect [path/to/image.sif]
Copy it and replace filenames, paths, or keywords as needed.
apptainer overlay create -s [size] [path/to/image.sif]
Copy it and replace filenames, paths, or keywords as needed.
apptainer pull [path/to/image.sif] docker://[image]:[tag]
Copy it and replace filenames, paths, or keywords as needed.
apptainer run-help [container.sif]
Copy it and replace filenames, paths, or keywords as needed.
apptainer shell [container.sif]
Copy it and replace filenames, paths, or keywords as needed.
apropos [keyword]
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.
sudo apt update
May affect permissions or system state. Check the target first.
man apt-secure
Copy it and replace filenames, paths, or keywords as needed.
apt-sortpkgs [Packages] > [Packages.sorted]
Uses pipes, overwrite, or deletion. Check paths and options first.
aptitude-create-state-bundle [bundle.tar.bz2]
Copy it and replace filenames, paths, or keywords as needed.
aptitude-run-state-bundle [bundle.tar.bz2]
Copy it and replace filenames, paths, or keywords as needed.
apw start
Copy it and replace filenames, paths, or keywords as needed.
ar rcs [archive.a] [file1.o] [file2.o]
Copy it and replace filenames, paths, or keywords as needed.
arc a [archive.arc] [files]
Copy it and replace filenames, paths, or keywords as needed.
archivemount [path/to/archive] [path/to/mount_point]
May affect permissions or system state. Check the target first.
arecord -vv -f cd [path/to/file.wav]
Copy it and replace filenames, paths, or keywords as needed.
arecordmidi -p [hw:1,0] [recording.mid]
Copy it and replace filenames, paths, or keywords as needed.
aria2c [https://example.com/file.zip]
Copy it and replace filenames, paths, or keywords as needed.
aria2tui
Copy it and replace filenames, paths, or keywords as needed.
arjun -u [https://example.com/page]
Copy it and replace filenames, paths, or keywords as needed.
ark -b [path/to/archive]
Copy it and replace filenames, paths, or keywords as needed.
arm-none-eabi-gdb [firmware.elf]
Copy it and replace filenames, paths, or keywords as needed.
arm2hpdl [sihp1005.img] > [sihp1005.dl]
Uses pipes, overwrite, or deletion. Check paths and options first.
as [path/to/file.s]
Copy it and replace filenames, paths, or keywords as needed.
asak rec [output]
Copy it and replace filenames, paths, or keywords as needed.
asar pack [dir/] [output.asar]
Copy it and replace filenames, paths, or keywords as needed.
ascii-xfr -s [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
asciidoc [document.txt]
Copy it and replace filenames, paths, or keywords as needed.
asciinema rec [recording.cast]
Copy it and replace filenames, paths, or keywords as needed.
asdf plugin add [nodejs]
May affect permissions or system state. Check the target first.
openssl asn1parse -in [file.der]
Copy it and replace filenames, paths, or keywords as needed.
aspell check [file.txt]
Copy it and replace filenames, paths, or keywords as needed.
assetfinder [example.com]
Copy it and replace filenames, paths, or keywords as needed.
assimp export [input.fbx] [output.obj]
Copy it and replace filenames, paths, or keywords as needed.
ast-grep --pattern 'console.log($ARG)'
Copy it and replace filenames, paths, or keywords as needed.
astyle [file.cpp]
Copy it and replace filenames, paths, or keywords as needed.
at now + 5 minutes
Copy it and replace filenames, paths, or keywords as needed.
atac
Copy it and replace filenames, paths, or keywords as needed.
atool -x [archive.tar.gz]
Copy it and replace filenames, paths, or keywords as needed.
attr -s [attribute_name] -V [value] [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
sudo audit2why
May affect permissions or system state. Check the target first.
sudo auditctl -s
May affect permissions or system state. Check the target first.
sudo auditd
May affect permissions or system state. Check the target first.
aur sync [package1] [package2] ...
Requires network or a remote resource.
aurvote --configure
Copy it and replace filenames, paths, or keywords as needed.
sudo ausearch -m avc
May affect permissions or system state. Check the target first.
austin-tui python3 [path/to/script.py]
Copy it and replace filenames, paths, or keywords as needed.
autoflake --in-place --remove-unused-variables [file.py]
Copy it and replace filenames, paths, or keywords as needed.
autoheader
Copy it and replace filenames, paths, or keywords as needed.
autoload [function_name]
Copy it and replace filenames, paths, or keywords as needed.
autopep8 --in-place [file.py]
Copy it and replace filenames, paths, or keywords as needed.
autoprefixer [input.css] -o [output.css]
Copy it and replace filenames, paths, or keywords as needed.
autopsy
Copy it and replace filenames, paths, or keywords as needed.
avidemux [video.mp4]
Copy it and replace filenames, paths, or keywords as needed.
avifdec [input.avif] [output.png]
Copy it and replace filenames, paths, or keywords as needed.
avifenc [path/to/input.png] [path/to/output.avif]
Requires network or a remote resource.
avo init
Copy it and replace filenames, paths, or keywords as needed.
avr-gcc -mmcu=[atmega328p] -o [output.elf] [source.c]
Copy it and replace filenames, paths, or keywords as needed.
avro-tools fromjson --schema-file [schema.avsc] [input.json] > [output.avro]
Uses pipes, overwrite, or deletion. Check paths and options first.
awk '{print $5}' [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
aws acm-pca create-certificate-authority --certificate-authority-configuration [file://config.json] --certificate-authority-type ROOT
Copy it and replace filenames, paths, or keywords as needed.
aws budgets create-budget --account-id [123456789012] --budget file://[budget.json]
Copy it and replace filenames, paths, or keywords as needed.
aws cloudformation create-stack --stack-name [my-stack] --template-body file://[template.yaml]
Copy it and replace filenames, paths, or keywords as needed.
aws cloudfront create-invalidation --distribution-id [EDFDVBD6EXAMPLE] --paths "/[path/to/file.jpg]" "/[images/*]"
Copy it and replace filenames, paths, or keywords as needed.
aws codebuild start-build --project-name [my-project]
Copy it and replace filenames, paths, or keywords as needed.
aws efs describe-file-systems
Copy it and replace filenames, paths, or keywords as needed.
aws-google-auth
Copy it and replace filenames, paths, or keywords as needed.
aws history list
Copy it and replace filenames, paths, or keywords as needed.
aws kafka create-cluster --cluster-name [my-cluster] --kafka-version [3.5.1] --number-of-broker-nodes 3 --broker-node-group-info file://[broker-config.json]
Copy it and replace filenames, paths, or keywords as needed.
aws lambda create-function --function-name [my-function] --runtime python3.11 --role [arn:aws:iam::account:role/lambda-role] --handler [index.handler] --zip-file fileb://[function.zip]
Copy it and replace filenames, paths, or keywords as needed.
aws s3 cp [file.txt] s3://[bucket-name]/
Copy it and replace filenames, paths, or keywords as needed.
aws s3 ls
Copy it and replace filenames, paths, or keywords as needed.
aws s3 mv [file.txt] s3://[bucket-name]/
Copy it and replace filenames, paths, or keywords as needed.
aws s3 presign s3://[bucket-name]/[file.txt]
Copy it and replace filenames, paths, or keywords as needed.
aws s3 rm s3://[bucket-name]/[file.txt]
Copy it and replace filenames, paths, or keywords as needed.
aws s3 sync [./local-dir] s3://[bucket-name]/
Requires network or a remote resource.
aws s3 ls
Copy it and replace filenames, paths, or keywords as needed.
aws s3 ls
Copy it and replace filenames, paths, or keywords as needed.
sesh
Copy it and replace filenames, paths, or keywords as needed.
awstats -config [virtualhostname] -update
Copy it and replace filenames, paths, or keywords as needed.
axel [https://example.com/file.zip]
Copy it and replace filenames, paths, or keywords as needed.
axi-cache search [keyword]
Copy it and replace filenames, paths, or keywords as needed.
az bicep build --file [main.bicep]
Copy it and replace filenames, paths, or keywords as needed.
az config get
Copy it and replace filenames, paths, or keywords as needed.
az deployment group create --resource-group [rg_name] --template-file [template.json]
Copy it and replace filenames, paths, or keywords as needed.
az storage blob upload -f [/path/to/file] -c [container-name] -n [blob-name] --account-name [account]
Copy it and replace filenames, paths, or keywords as needed.
az storage container create -n [container-name] --account-name [account]
Copy it and replace filenames, paths, or keywords as needed.
az storage copy -s [/path/to/file.txt] -d https://[account].blob.core.windows.net/[container]/[blob]
Copy it and replace filenames, paths, or keywords as needed.
azcopy copy [path/to/file] "https://[account].blob.core.windows.net/[container]/[blob]?[SAS_token]"
Copy it and replace filenames, paths, or keywords as needed.
b2 account authorize [applicationKeyId] [applicationKey]
Copy it and replace filenames, paths, or keywords as needed.
b2 authorize-account [applicationKeyId] [applicationKey]
Copy it and replace filenames, paths, or keywords as needed.
b2sum [file]
Copy it and replace filenames, paths, or keywords as needed.
b3sum [file]
Copy it and replace filenames, paths, or keywords as needed.
bagels
Copy it and replace filenames, paths, or keywords as needed.
baksmali disassemble [classes.dex]
Copy it and replace filenames, paths, or keywords as needed.
balena-etcher
Copy it and replace filenames, paths, or keywords as needed.
ballast
Copy it and replace filenames, paths, or keywords as needed.
balooctl status
Copy it and replace filenames, paths, or keywords as needed.
baobab
Copy it and replace filenames, paths, or keywords as needed.
bar -if [input_file] -of [output_file]
Copy it and replace filenames, paths, or keywords as needed.
base32 [file]
Copy it and replace filenames, paths, or keywords as needed.
base64 [file]
Copy it and replace filenames, paths, or keywords as needed.
basename [/path/to/file.txt]
Copy it and replace filenames, paths, or keywords as needed.
basenc --base64 [file]
Requires network or a remote resource.
basilk
Copy it and replace filenames, paths, or keywords as needed.
bat [file.js]
Copy it and replace filenames, paths, or keywords as needed.
batcat
Copy it and replace filenames, paths, or keywords as needed.
battlestar
Copy it and replace filenames, paths, or keywords as needed.
bbrew search [query]
Copy it and replace filenames, paths, or keywords as needed.
bcal "(5kb+2mb)/3"
Copy it and replace filenames, paths, or keywords as needed.
bcftools view [input.vcf.gz]
Copy it and replace filenames, paths, or keywords as needed.
bchunk [path/to/image.bin] [path/to/image.cue] [path/to/output]
Copy it and replace filenames, paths, or keywords as needed.
bcrypt [file.txt]
Copy it and replace filenames, paths, or keywords as needed.
bd [dirname]
Copy it and replace filenames, paths, or keywords as needed.
python3 -c "from bs4 import BeautifulSoup; import requests; print([a['href'] for a in BeautifulSoup(requests.get('[url]').text, 'html.parser').find_all('a', href=True)])"
Uses pipes, overwrite, or deletion. Check paths and options first.
benben [path/to/song.mp3]
Copy it and replace filenames, paths, or keywords as needed.
bfs [/path]
Copy it and replace filenames, paths, or keywords as needed.
bgzip [file.vcf]
Copy it and replace filenames, paths, or keywords as needed.
biber [document]
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.
bibtex [document]
Copy it and replace filenames, paths, or keywords as needed.
sudo bindfs /path/to/source /path/to/mount
May affect permissions or system state. Check the target first.
binsider [path/to/binary]
Copy it and replace filenames, paths, or keywords as needed.
binwalk [firmware.bin]
Copy it and replace filenames, paths, or keywords as needed.
bioradtopgm [bioradfile.pic] > [output.pgm]
Uses pipes, overwrite, or deletion. Check paths and options first.
bkp [path/to/file]
Copy it and replace filenames, paths, or keywords as needed.
blaise --source [Hello.pas] --output [Hello]
Copy it and replace filenames, paths, or keywords as needed.
blastn -query [query.fa] -subject [subject.fa] -evalue [1e-9]
Copy it and replace filenames, paths, or keywords as needed.
blastp -query [query.fa] -subject [subject.fa] -evalue [1e-9]
Copy it and replace filenames, paths, or keywords as needed.
bloodhound
Copy it and replace filenames, paths, or keywords as needed.
bluetooth-sendto
Copy it and replace filenames, paths, or keywords as needed.
bluetuith
Copy it and replace filenames, paths, or keywords as needed.
bmptopnm [image.bmp] > [output.pnm]
Uses pipes, overwrite, or deletion. Check paths and options first.
bmptoppm [image.bmp] > [output.ppm]
Uses pipes, overwrite, or deletion. Check paths and options first.
boggle
Copy it and replace filenames, paths, or keywords as needed.
bombadillo
Copy it and replace filenames, paths, or keywords as needed.
bondai
Copy it and replace filenames, paths, or keywords as needed.
box login
Copy it and replace filenames, paths, or keywords as needed.
boxxy [application]
Copy it and replace filenames, paths, or keywords as needed.
bpkg install [package-name] -g
Copy it and replace filenames, paths, or keywords as needed.