Linux
Text Processing API Reference
Linux text-processing pipelines for filtering, transforming and summarizing streamed text.
By EZ4Code Team
Text Commands
POSIX text utilities commonly combined in pipelines.
grep [-i] [-v] [-E] [-n] [-r] pattern [file...]Searches for lines matching a regular expression; -i case-insensitive, -v invert, -E extended, -r recursive.
Returns: void
sed [-i] -e 'script' [file...]Stream editor for filtering and transforming text; -i edits files in place.
Returns: void
awk [-F sep] 'program' [file...]Pattern-action scanning language; splits each record into fields and runs program per record.
Returns: void
sort [-n] [-r] [-u] [-k F[,F]] [file...]Sorts lines of text; -n numeric, -r reverse, -u unique, -k key field(s).
Returns: void
uniq [-c] [-d] [-u] [file]Filters or reports adjacent repeated lines; usually preceded by sort. -c prefixes count.
Returns: void
tee [-a] file...Reads from stdin and writes to stdout and the given files; -a appends instead of overwriting.
Returns: void