Show most used commands
Useful Linux one-liner
history | awk '{print $2}' | sort | uniq -c | sort -nr | head
Linux basics
155 Regular Expressions Linux command examples grouped into 16 practical sections.
Browse grouped command cards or search directly below.
51 commands
Useful Linux one-liner
history | awk '{print $2}' | sort | uniq -c | sort -nr | head
Translate awk scripts to Perl
a2p [script.awk] > [script.pl]
Convert between PostScript, EPS, and PDF formats
a2ping [input.ps] [output.pdf]
grep-like source code search tool for programmers
ack [pattern]
Pattern scanning and text processing language
awk '{print $5}' [path/to/file]
Search bzip2 files using extended regular expressions
bzegrep "[pattern]" [path/to/file.bz2]
Search bzip2 compressed files for patterns
bzgrep ["pattern"] [file.bz2]
Perl module dependency manager
carton install
Console-based bibliography manager
cobib
extended regex pattern searcher
egrep "[pattern]" [file.txt]
fast and user-friendly file finder
fd [pattern]
fast and user-friendly file finder
fdfind [pattern]
Translate find command lines to equivalent Perl code
find2perl [directory] -name "[*.txt]"
GNU implementation of AWK text processor
gawk '{print $1, $3}' [path/to/file]
wireless recon visualization tool for Kismet data
giskismet -x [kismet-output.netxml]
Web interface for browsing Git repositories
git instaweb --httpd=[webrick]
Shell conditional statement
if [[ condition ]]; then command; fi
Interactive grep with TUI for browsing results
igrep "[pattern]"
terminal-based IRC client known for its scriptability, themability
irssi
Modal text editor with multiple selections as a core concept
kak [path/to/file]
TUI for viewing logs from journald, Docker, and Kubernetes
lazyjournal
lists available printers and printer drivers known to CUPS
lpinfo -v
like awk, sed, cut, join, and sort for name-indexed data such as CSV
mlr --csv --ojson cat [file.csv]
open files by mimetype
mimeopen [file.pdf]
determines the MIME type of files using the shared-mime-info database
mimetype [path/to/file]
processes structured text data
mlr --csv --ojson cat [data.csv]
filters PO file translations through a command
msgfilter [sed -e 's/old/new/g'] < [input.po] > [output.po]
searches for text patterns in PDF files, similar to grep but for PDFs
pdfgrep "[pattern]" [file.pdf]
adds interactive filtering to any text stream
[command] | percol
perl documentation file containing all diagnostic messages that Perl can produce
perldoc perldiag
searches for processes by name or attributes, returning their PIDs
pgrep [nginx]
Find files quickly using indexed database
plocate [filename]
Convert Perl POD documentation to man pages
pod2man [file.pod] > [file.1]
Search for processes by name pattern
psgrep [pattern]
Apply pattern matching to the contents of files in a tar archive
ptargrep "[pattern]" [archive.tar.gz]
The Raku programming language interpreter
raku
48 commands
List installed packages on an Android device
adb shell pm list packages
Scan APKs for hardcoded secrets and keys
apkleaks -f [app.apk]
Structural code search and rewrite using AST patterns
ast-grep --pattern 'console.log($ARG)'
Lightweight tool for querying the Arch User Repository.
auracle search '[regex]'
Filter and search BGP routing data in MRT format
bgpgrep [path/to/rib.mrt.gz] -subnet [192.0.2.0/24]
static analysis for infrastructure as code
checkov -d [path/to/directory]
source code line counter
cloc [directory]
interactive regex-based codebase refactoring tool
codemod -m -d [directory] '[old_pattern]' '[new_pattern]'
Perl module installer from CPAN
cpan [Module::Name]
Zero-configuration CPAN installer
cpanm [Module::Name]
CSV to tab-separated values converter
csv2tsv [input.csv] > [output.tsv]
Suite of command-line CSV processing tools
csvlook [data.csv]
enumerate information from Windows and Samba systems
enum4linux -a [remote_host]
evaluate arithmetic and string expressions in shell
expr [5] + [3]
fast recursive web content discovery tool
feroxbuster --url [https://example.com]
Terminal UI for personal finance with Plaid sync, categorization, tags and FIRE tracking
fungible
graphical IRC client for Linux, Windows, and macOS
hexchat
command-line JSON processor
cat [data.json] | jq '.'
tails logs from multiple pods simultaneously
kubetail [pod-name-prefix]
perl script that automates LaTeX document compilation
latexmk -pdf [document.tex]
Flatten LaTeX source by expanding \input and \include directives
latexpand [input.tex] > [output.tex]
queries an ID database to find tokens matching a specified pattern
lid
Blazing fast ls replacement with superpowers
lla
CLI tool for log stream splitting and visualization
tail -f [logfile] | logss -c "[pattern1]" -c "[pattern2]"
command-line HTTP client from the LWP suite
lwp-request [https://example.com/]
Search compressed files for fixed strings
lzfgrep [string] [file.lz]
builds an identifier database for source code files, enabling fast searches
mkid
collection of useful Unix utilities that don't quite fit anywhere else
cat [file] | grep [pattern] | sponge [file]
identifies outdated dependencies in package
ncu
Fast remote-first multi-host TUI log viewer with timeline histogram
nerdlog [user]@[host]
Interactive process-aware network connection monitor
netshow
The Perl 5 language interpreter
perl [script.pl]
documents Perl regular expressions, one of the most powerful regex
perldoc perlre
Detect and mask personally identifiable information in text
pii-shield detect "Contact john@example.com for help"
Manage multiple Perl installations
plenv versions
Convert Perl POD documentation to HTML
pod2html --infile=[file.pod] --outfile=[file.html]
38 commands
Useful Linux one-liner
grep -ir "text" .
Useful Linux one-liner
upower -i $(upower -e | grep BAT) | grep percentage
fish shell abbreviation manager
abbr --add [abbreviation_name] [command] [arguments]
Search code fast like ack but faster
ag [pattern]
Search manual page descriptions by keyword
apropos [keyword]
human-friendly alternative to cut and awk
echo "one two three" | choose 0
CSV row filter by column values
csvgrep -c [column] -m "[value]" [data.csv]
syntax-highlighting pager for diffs
git diff | delta
Fast, interactive codebase-wide find and replace
fastmod "[old_string]" "[new_string]"
fixed-string search without regex
fgrep "[search string]" [file.txt]
Search patterns in tracked files
git grep "[pattern]"
Display comprehensive repository information
git info
Find and replace across tracked files
git sed "[old]" "[new]"
Pattern-matching text search utility
grep [pattern] [file]
Make JSON greppable
gron [file.json]
set default boot entry for next reboot only
sudo grub-reboot [entry_number]
Modern alternative to the watch command with diff history
hwatch [command]
parses JSON in shell scripts
echo '{"name":"test"}' | jshon -e name
JSON pretty printer from Perl
json_pp < [data.json]
linux kernel virtualization module
lscpu | grep Virtualization
searches for extended regular expression patterns in lzip-compressed files
lzegrep [pattern] [file.lz]
searches for patterns in lzip-compressed files
lzgrep [pattern] [file.lz]
Command-line note-taking, bookmarking, and knowledge base
nb add
network grep
ngrep -q "[pattern]"
Fast new version checker for software releases
nvrs
Display Perl documentation
perldoc [Module::Name]
Reliable PostgreSQL backup and restore tool
pgbackrest --stanza=[name] stanza-create
Terminal UI for regex testing
echo "hello world 123" | rexi
Interactive find-and-replace in the terminal
scooter
Lightweight static analysis for code security and quality
semgrep scan --config auto
VS Code-style search and replace TUI for the terminal
serpl
Adjust stream buffering of commands
stdbuf -oL [command]
Generate language bindings for C/C++ code
swig -python [interface.i]
Unicode-aware uppercase filter
echo "[straße]" | uc
Disable output buffering for commands
unbuffer [command]
Interactive grep with editor integration
vgrep "[pattern]"
16 commands
Exim mail queue search utility
exiqgrep -f '<[email@example.com]>'
Perl regex-based file renaming
file-rename 's/old/new/' [files]
creates Perl extension module skeletons
h2xs -A -n [Module::Name]
Run and test HTTP requests with plain text
hurl [path/to/file.hurl]
sends a signal to all processes running the specified command
killall [process_name]
Batch rename utility for developers
nomino -r "[regex]" "[output_pattern]"
renames files using Perl regular expressions
perl-rename 's/old/new/' [*.txt]
Rename files using Perl expressions
prename 's/old/new/' [*.txt]
Regular expression based file rename tool
regname [pattern] [replacement] [files]
Rename multiple files
tldr perl-rename
Rename files using simple string substitution (util-linux version)
rename.ul foo bar *.txt
Rename files using string substitution
rename [foo] [bar] *
Bulk rename files with patterns
rnm -ss [old] -rs [new] [directory]
Terminal client for Simplenote
sncli
Syntax-aware grep and code editing tool
echo 'Hello World!' | srgn '[wW]orld' -- 'there'
Terminal-based data exploration spreadsheet
vd [file.csv]
14 commands
Useful Linux one-liner
sed -i 's/old/new/g' *.txt
Shell history substitution and regex anchor character
^[old]^[new]
standard Unix line editor
ed [file.txt]
Perl utility for creating custom Encode modules
enc2xs -M [ModuleName] [encoding.ucm]
graph stream editor, similar to awk for graphs
gvpr -f [script.gvpr] [input.gv]
Minimal terminal AI coding agent with pluggable LLM providers
keen
extracts specific fields from input
echo "[a b c]" | nth [2]
Regular expression syntax reference
regex
Ruby programming language interpreter
ruby
Stream editor for text transformations
[command] | sed 's/apple/mango/g'
Create squashfs filesystem from tar archives
sqfstar < [archive.tar] [filesystem.squashfs]
Enhanced text field cutting and splitting
echo "[a\tb\tc]" | tuc -f 1
Extensible terminal-based chat client
weechat
Command-line XML processing toolkit
xmlstarlet sel -t -v "[xpath]" [file.xml]
6 commands
Regex generator from example strings
grex [foo] [bar] [baz]
Convert C header files to Perl header files
h2ph [header.h]
CLI tool for real-time log aggregation and analysis
logria
manages multiple Perl installations in user space
perlbrew install perl-[5.38.0]
Benchmark Proxmox host performance
pveperf
Pattern matching for malware detection
yara [rules.yar] [file]
2 commands
1 commands
1 commands
Import old personal dictionaries into GNU Aspell
aspell-import
1 commands
installed packages viewer
conda list
1 commands
1 commands
Validate Perl POD documentation syntax
podchecker [file.pod]
1 commands
1 commands
1 commands
1 commands
grep -ir "text" .
复制后可按需替换文件名、目录或参数。
sed -i 's/old/new/g' *.txt
复制后可按需替换文件名、目录或参数。
upower -i $(upower -e | grep BAT) | grep percentage
涉及管道、覆盖或删除,执行前请先确认路径和参数。
history | awk '{print $2}' | sort | uniq -c | sort -nr | head
涉及管道、覆盖或删除,执行前请先确认路径和参数。
a2p [script.awk] > [script.pl]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
a2ping [input.ps] [output.pdf]
复制后可按需替换文件名、目录或参数。
abbr --add [abbreviation_name] [command] [arguments]
权限或系统影响较大,执行前请核对目标。
ack [pattern]
复制后可按需替换文件名、目录或参数。
adb shell pm list packages
复制后可按需替换文件名、目录或参数。
ag [pattern]
复制后可按需替换文件名、目录或参数。
apkleaks -f [app.apk]
复制后可按需替换文件名、目录或参数。
apropos [keyword]
复制后可按需替换文件名、目录或参数。
aspell-import
复制后可按需替换文件名、目录或参数。
ast-grep --pattern 'console.log($ARG)'
复制后可按需替换文件名、目录或参数。
auracle search '[regex]'
复制后可按需替换文件名、目录或参数。
awk '{print $5}' [path/to/file]
复制后可按需替换文件名、目录或参数。
bgpgrep [path/to/rib.mrt.gz] -subnet [192.0.2.0/24]
权限或系统影响较大,执行前请核对目标。
bzegrep "[pattern]" [path/to/file.bz2]
复制后可按需替换文件名、目录或参数。
bzgrep ["pattern"] [file.bz2]
复制后可按需替换文件名、目录或参数。
^[old]^[new]
复制后可按需替换文件名、目录或参数。
carton install
复制后可按需替换文件名、目录或参数。
checkov -d [path/to/directory]
复制后可按需替换文件名、目录或参数。
echo "one two three" | choose 0
涉及管道、覆盖或删除,执行前请先确认路径和参数。
cloc [directory]
复制后可按需替换文件名、目录或参数。
cobib
复制后可按需替换文件名、目录或参数。
codemod -m -d [directory] '[old_pattern]' '[new_pattern]'
复制后可按需替换文件名、目录或参数。
conda list
复制后可按需替换文件名、目录或参数。
cpan [Module::Name]
复制后可按需替换文件名、目录或参数。
cpanm [Module::Name]
复制后可按需替换文件名、目录或参数。
csv2tsv [input.csv] > [output.tsv]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
csvgrep -c [column] -m "[value]" [data.csv]
复制后可按需替换文件名、目录或参数。
csvlook [data.csv]
复制后可按需替换文件名、目录或参数。
git diff | delta
涉及管道、覆盖或删除,执行前请先确认路径和参数。
ed [file.txt]
复制后可按需替换文件名、目录或参数。
egrep "[pattern]" [file.txt]
复制后可按需替换文件名、目录或参数。
enc2xs -M [ModuleName] [encoding.ucm]
复制后可按需替换文件名、目录或参数。
enum4linux -a [remote_host]
复制后可按需替换文件名、目录或参数。
exiqgrep -f '<[email@example.com]>'
涉及管道、覆盖或删除,执行前请先确认路径和参数。
expr [5] + [3]
复制后可按需替换文件名、目录或参数。
exrex '[a-z]{3}'
复制后可按需替换文件名、目录或参数。
fastmod "[old_string]" "[new_string]"
复制后可按需替换文件名、目录或参数。
fd [pattern]
复制后可按需替换文件名、目录或参数。
fdfind [pattern]
复制后可按需替换文件名、目录或参数。
feroxbuster --url [https://example.com]
复制后可按需替换文件名、目录或参数。
fgrep "[search string]" [file.txt]
复制后可按需替换文件名、目录或参数。
file-rename 's/old/new/' [files]
复制后可按需替换文件名、目录或参数。
find2perl [directory] -name "[*.txt]"
复制后可按需替换文件名、目录或参数。
fungible
复制后可按需替换文件名、目录或参数。
gawk '{print $1, $3}' [path/to/file]
复制后可按需替换文件名、目录或参数。
giskismet -x [kismet-output.netxml]
复制后可按需替换文件名、目录或参数。
git grep "[pattern]"
复制后可按需替换文件名、目录或参数。
git info
复制后可按需替换文件名、目录或参数。
git sed "[old]" "[new]"
复制后可按需替换文件名、目录或参数。
git instaweb --httpd=[webrick]
复制后可按需替换文件名、目录或参数。
grep [pattern] [file]
复制后可按需替换文件名、目录或参数。
grex [foo] [bar] [baz]
复制后可按需替换文件名、目录或参数。
gron [file.json]
复制后可按需替换文件名、目录或参数。
sudo grub-reboot [entry_number]
权限或系统影响较大,执行前请核对目标。
gvpr -f [script.gvpr] [input.gv]
复制后可按需替换文件名、目录或参数。
h2ph [header.h]
复制后可按需替换文件名、目录或参数。
h2xs -A -n [Module::Name]
复制后可按需替换文件名、目录或参数。
hexchat
复制后可按需替换文件名、目录或参数。
hurl [path/to/file.hurl]
复制后可按需替换文件名、目录或参数。
hwatch [command]
复制后可按需替换文件名、目录或参数。
if [[ condition ]]; then command; fi
涉及管道、覆盖或删除,执行前请先确认路径和参数。
igrep "[pattern]"
复制后可按需替换文件名、目录或参数。
irssi
复制后可按需替换文件名、目录或参数。
cat [data.json] | jq '.'
涉及管道、覆盖或删除,执行前请先确认路径和参数。
echo '{"name":"test"}' | jshon -e name
涉及管道、覆盖或删除,执行前请先确认路径和参数。
json_pp < [data.json]
复制后可按需替换文件名、目录或参数。
kak [path/to/file]
复制后可按需替换文件名、目录或参数。
keen
复制后可按需替换文件名、目录或参数。
killall [process_name]
复制后可按需替换文件名、目录或参数。
kubetail [pod-name-prefix]
复制后可按需替换文件名、目录或参数。
lscpu | grep Virtualization
涉及管道、覆盖或删除,执行前请先确认路径和参数。
latexmk -pdf [document.tex]
复制后可按需替换文件名、目录或参数。
latexpand [input.tex] > [output.tex]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
lazyjournal
复制后可按需替换文件名、目录或参数。
lid
复制后可按需替换文件名、目录或参数。
lla
复制后可按需替换文件名、目录或参数。
logria
复制后可按需替换文件名、目录或参数。
tail -f [logfile] | logss -c "[pattern1]" -c "[pattern2]"
涉及管道、覆盖或删除,执行前请先确认路径和参数。
lpinfo -v
复制后可按需替换文件名、目录或参数。
lwp-request [https://example.com/]
复制后可按需替换文件名、目录或参数。
lzegrep [pattern] [file.lz]
复制后可按需替换文件名、目录或参数。
lzfgrep [string] [file.lz]
复制后可按需替换文件名、目录或参数。
lzgrep [pattern] [file.lz]
复制后可按需替换文件名、目录或参数。
mlr --csv --ojson cat [file.csv]
复制后可按需替换文件名、目录或参数。
mimeopen [file.pdf]
复制后可按需替换文件名、目录或参数。
mimetype [path/to/file]
复制后可按需替换文件名、目录或参数。
mkid
复制后可按需替换文件名、目录或参数。
mlr --csv --ojson cat [data.csv]
复制后可按需替换文件名、目录或参数。
cat [file] | grep [pattern] | sponge [file]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
msgfilter [sed -e 's/old/new/g'] < [input.po] > [output.po]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
nb add
复制后可按需替换文件名、目录或参数。
ncu
复制后可按需替换文件名、目录或参数。
nerdlog [user]@[host]
复制后可按需替换文件名、目录或参数。
netshow
复制后可按需替换文件名、目录或参数。
ngrep -q "[pattern]"
复制后可按需替换文件名、目录或参数。
nomino -r "[regex]" "[output_pattern]"
复制后可按需替换文件名、目录或参数。
echo "[a b c]" | nth [2]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
nvrs
复制后可按需替换文件名、目录或参数。
pdfgrep "[pattern]" [file.pdf]
复制后可按需替换文件名、目录或参数。
[command] | percol
涉及管道、覆盖或删除,执行前请先确认路径和参数。
perl-rename 's/old/new/' [*.txt]
复制后可按需替换文件名、目录或参数。
perl [script.pl]
复制后可按需替换文件名、目录或参数。
perlbrew install perl-[5.38.0]
复制后可按需替换文件名、目录或参数。
perldoc perldiag
复制后可按需替换文件名、目录或参数。
perldoc [Module::Name]
复制后可按需替换文件名、目录或参数。
perlivp
复制后可按需替换文件名、目录或参数。
perldoc perlre
复制后可按需替换文件名、目录或参数。
pgbackrest --stanza=[name] stanza-create
复制后可按需替换文件名、目录或参数。
pgrep [nginx]
复制后可按需替换文件名、目录或参数。
pii-shield detect "Contact john@example.com for help"
复制后可按需替换文件名、目录或参数。
pl2pm [library.pl] > [Module.pm]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
plenv versions
复制后可按需替换文件名、目录或参数。
plocate [filename]
复制后可按需替换文件名、目录或参数。
pod2html --infile=[file.pod] --outfile=[file.html]
复制后可按需替换文件名、目录或参数。
pod2man [file.pod] > [file.1]
涉及管道、覆盖或删除,执行前请先确认路径和参数。
pod2text [file.pod]
复制后可按需替换文件名、目录或参数。
podchecker [file.pod]
复制后可按需替换文件名、目录或参数。
podselect -section [NAME] [file.pod]
复制后可按需替换文件名、目录或参数。
prename 's/old/new/' [*.txt]
复制后可按需替换文件名、目录或参数。
psgrep [pattern]
复制后可按需替换文件名、目录或参数。
ptargrep "[pattern]" [archive.tar.gz]
复制后可按需替换文件名、目录或参数。
pveperf
复制后可按需替换文件名、目录或参数。
rails routes
复制后可按需替换文件名、目录或参数。
raku
复制后可按需替换文件名、目录或参数。
recdel -e "[Name = 'John']" [file.rec]
复制后可按需替换文件名、目录或参数。
reflex [command]
复制后可按需替换文件名、目录或参数。
regex
复制后可按需替换文件名、目录或参数。
regname [pattern] [replacement] [files]
复制后可按需替换文件名、目录或参数。
tldr perl-rename
复制后可按需替换文件名、目录或参数。
rename.ul foo bar *.txt
复制后可按需替换文件名、目录或参数。
rename [foo] [bar] *
复制后可按需替换文件名、目录或参数。
echo "hello world 123" | rexi
涉及管道、覆盖或删除,执行前请先确认路径和参数。
rg "[pattern]"
复制后可按需替换文件名、目录或参数。
rga [pattern]
复制后可按需替换文件名、目录或参数。
rgrep "[pattern]" [path]
复制后可按需替换文件名、目录或参数。
rg "[pattern]"
复制后可按需替换文件名、目录或参数。
rnm -ss [old] -rs [new] [directory]
复制后可按需替换文件名、目录或参数。
ruby
复制后可按需替换文件名、目录或参数。
scooter
复制后可按需替换文件名、目录或参数。
sd '[find]' '[replace]' [path/to/file]
复制后可按需替换文件名、目录或参数。
[command] | sed 's/apple/mango/g'
涉及管道、覆盖或删除,执行前请先确认路径和参数。
semgrep scan --config auto
复制后可按需替换文件名、目录或参数。
serpl
复制后可按需替换文件名、目录或参数。
shasum [file]
复制后可按需替换文件名、目录或参数。
stern --context kind etcd |& sig
涉及管道、覆盖或删除,执行前请先确认路径和参数。
sncli
复制后可按需替换文件名、目录或参数。
source-highlight -i [file.java] -o [file.html]
复制后可按需替换文件名、目录或参数。
sqfstar < [archive.tar] [filesystem.squashfs]
复制后可按需替换文件名、目录或参数。
echo 'Hello World!' | srgn '[wW]orld' -- 'there'
涉及管道、覆盖或删除,执行前请先确认路径和参数。
stdbuf -oL [command]
复制后可按需替换文件名、目录或参数。
swig -python [interface.i]
复制后可按需替换文件名、目录或参数。
systeroid -A
复制后可按需替换文件名、目录或参数。
thrift --gen [language] [file.thrift]
复制后可按需替换文件名、目录或参数。
tlmgr gui
复制后可按需替换文件名、目录或参数。
trex
复制后可按需替换文件名、目录或参数。
trufflehog git [https://github.com/user/repo]
复制后可按需替换文件名、目录或参数。
echo "[a\tb\tc]" | tuc -f 1
涉及管道、覆盖或删除,执行前请先确认路径和参数。
echo "[straße]" | uc
涉及管道、覆盖或删除,执行前请先确认路径和参数。
ugrep "[pattern]" [file]
复制后可按需替换文件名、目录或参数。
unbuffer [command]
复制后可按需替换文件名、目录或参数。
urlscan < [email.txt]
复制后可按需替换文件名、目录或参数。
urxvt
复制后可按需替换文件名、目录或参数。
vd [file.csv]
复制后可按需替换文件名、目录或参数。
vgrep "[pattern]"
复制后可按需替换文件名、目录或参数。
vi-mongo
复制后可按需替换文件名、目录或参数。
echo "text" | vipe
涉及管道、覆盖或删除,执行前请先确认路径和参数。
weechat
复制后可按需替换文件名、目录或参数。
xgettext -o [messages.pot] [*.c]
复制后可按需替换文件名、目录或参数。
xml depyx [file.pyx]
复制后可按需替换文件名、目录或参数。
xml pyx [file.xml]
复制后可按需替换文件名、目录或参数。
xmlstarlet sel -t -v "[xpath]" [file.xml]
复制后可按需替换文件名、目录或参数。
xzegrep "[pattern]" [file.xz]
复制后可按需替换文件名、目录或参数。
xzfgrep "[string]" [file.xz]
复制后可按需替换文件名、目录或参数。
xzgrep "[pattern]" [file.xz]
复制后可按需替换文件名、目录或参数。
yara [rules.yar] [file]
复制后可按需替换文件名、目录或参数。
zegrep "[pattern]" [file.gz]
复制后可按需替换文件名、目录或参数。
zfgrep "[string]" [file.gz]
复制后可按需替换文件名、目录或参数。
zgrep "[pattern]" [file.gz]
复制后可按需替换文件名、目录或参数。
zipgrep [pattern] [archive.zip]
复制后可按需替换文件名、目录或参数。
lsmod | grep -i zram
涉及管道、覆盖或删除,执行前请先确认路径和参数。