cat | Read and concatenate files | -n, -b, -s, -v, -E, -T, -A |
head | Read the beginning | -n N, -c N, -q, -v, -z |
tail | Read the end or follow changes | -n N, -c N, -q, -v, -f, -F, --retry, -s SECONDS |
wc | Count lines, words, bytes, or characters | -l, -w, -c, -m, -L, --total |
sort | Order lines | -n, -r, -u, -k KEY, -t CHAR, -h, -V, -s, -f, -c, -m, -o FILE, -z |
uniq | Filter adjacent repeated lines | -c, -d, -u, -i, -f N, -s N, -w N, -z |
cut | Select fields, bytes, or characters | -f LIST, -d CHAR, -b LIST, -c LIST, --complement, --output-delimiter, -s, -z |
tr | Translate, delete, or squeeze characters | -d, -s, -c, -C, -t |
sed | Edit a text stream | -e SCRIPT, -f FILE, -n, -E, -r, -i, -s, -l WIDTH |
awk | Process records and fields | -F SEPARATOR, -v NAME=VALUE, -f FILE |
tee | Copy stdin to stdout and files | -a, -i, -p, --output-error |
paste | Combine lines into columns | -d DELIMITERS, -s, -z |
join | Join sorted files on a field | -1 FIELD, -2 FIELD, -t CHAR, -a, -v, -e, -o, -i, --header, -z |
comm | Compare sorted lines | -1, -2, -3, --check-order, --total, -z |
split | Split input into files | -l N, -b SIZE, -n CHUNKS, -d, -x, -a N, --additional-suffix |
csplit | Split at line numbers or patterns | -f PREFIX, -n DIGITS, -b FORMAT, -k, -s, -z |
nl | Number lines | -b STYLE, -n FORMAT, -s STRING, -w WIDTH, -v START, -i STEP |
tac | Reverse record order | -b, -r, -s SEPARATOR |
rev | Reverse characters in each line | No command-specific flags |
column | Arrange text into columns | -t, -s SEPARATORS, -o SEPARATOR |
fold | Wrap long lines | -w WIDTH, -s, -b, -c |
fmt | Reflow paragraphs | -w WIDTH, -g GOAL, -c, -p PREFIX, -s, -t, -u |
expand, unexpand | Convert tabs and spaces | -t TABS; expand -i; unexpand -a, --first-only |
strings | Extract printable strings | -n LENGTH |
seq | Generate a number sequence | -s SEPARATOR, -w, -f FORMAT |
shuf | Shuffle or sample lines | -n N, -e, -r, -i RANGE, -o FILE, -z |
tsort | Sort dependency pairs | No command-specific flags |
numfmt | Convert numeric units | --from, --to, --suffix, --grouping |