☾
Light
Home
› Text Processing
📝
Text Processing
Search, filter, transform and compare text: grep, sed, awk, jq and friends.
awk
Powerful text processing language for pattern scanning and field-based reporting.
awk advanced
Advanced awk: multi-condition processing, BEGIN/END blocks, associative arrays.
base64
Encode or decode data using Base64.
bat
cat with syntax highlighting
cksum
CRC checksum
column
Format text into aligned columns for readable tabular output.
comm
Compare two sorted files line by line
csvkit
CSV tools suite
cut
Extract specific fields or character ranges from text.
diff
Compare files line by line and show differences.
dos2unix
Convert Windows line endings
echo
Print text
ed
Line editor
egrep
Extended grep
envsubst
Substitute environment variables in text
expand
Convert tabs to spaces
fd
Fast, friendly find alternative
fmt
Reformat paragraphs
fold
Wrap long lines
gawk
GNU awk
grep
Search text using patterns — print lines matching a regex from files or stdin.
grep advanced
Advanced grep: recursive search, context, PCRE patterns, and file filtering.
head
Output the first N lines of a file.
hexdump
Hex dump
iconv
Convert text encodings
join
Join lines of two sorted files on a field
jq
Command-line JSON processor and transformer.
less
Page through file content interactively with search and navigation.
look
Find lines starting with a prefix
nano
Simple terminal text editor
nl
Number lines
od
Dump bytes in octal/other formats
paste
Merge lines of files side by side
patch
Apply a diff/patch file to update source files.
pr
Paginate text for printing
printf
Format and print data with precise control over output format.
rev
Reverse characters in each line
rg
ripgrep: fast recursive search
sed
Stream editor — transform text using substitution, deletion, and insertion.
sed advanced
Advanced sed: multi-line editing, in-place replacement, complex patterns.
seq
Print a sequence of numbers
shuf
Shuffle or pick random lines
sort
Sort lines of text — alphabetically, numerically, or by a specific field.
sponge
Soak up input before writing a file
strings
Extract printable strings from binary files.
tac
Print file lines in reverse
tail
Output the last N lines of a file; follow live output.
tee
Write to stdout and one or more files simultaneously.
tr
Translate, squeeze, or delete characters in text streams.
tsort
Topological sort
uniq
Filter or count adjacent duplicate lines in sorted input.
vim
Vi IMproved text editor
wc
Count lines, words, characters, or bytes in files.
xargs
Build and execute commands from standard input.
xmllint
Parse and validate XML
xxd
Create or reverse a hex dump of binary data.
yq
Command-line YAML/JSON/XML processor (like jq but for YAML).
zless
View compressed files