Viewing and joining text
The commands that print files to the screen, show parts of them, and combine or split text by line and by column.
referencePrint files to standard output, and concatenate several files into one stream.
referencePrint files with their lines in reverse order — last line first.
referencePrint the first lines or bytes of a file.
referencePrint the last lines of a file — and keep printing as the file grows.
referenceView a file one screen at a time, pausing between screens.
referencePrint files with their lines numbered, with control over which lines are counted and how the number is formatted.
referencePull selected columns — byte ranges or delimited fields — out of each line of input.
referenceJoin files side by side, line for line.
referenceJoin two files on a shared field, pairing lines that have the same key.
referenceCompare two sorted files line by line and report which lines they share.
referenceBreak a file into equal-sized pieces, each written to its own output file.
referenceBreak a file into pieces at lines chosen by line number or by a matching pattern.