Text Processing & Editors
Search, filter and transform text from the command line.
6 commands in this section.
awk
Advanced
Pattern-scanning and text-processing language.
awk [options] "program" [file...]
cut
Beginner
Extract columns or fields from each line of text.
cut [options] [file...]
grep
Beginner
Search text for lines matching a pattern.
grep [options] pattern [file...]
less
Beginner
View file contents one page at a time.
less [options] file
sed
Intermediate
Stream editor for filtering and transforming text.
sed [options] script [file...]
sort
Beginner
Sort lines of text.
sort [options] [file...]