pr Command Examples

Paginate or columnate files for printing. More information: https://www.gnu.org/software/coreutils/pr.

pr {{path/to/file1 path/to/file2 ...}}

pr -h "{{header}}" {{path/to/file1 path/to/file2 ...}}

pr -n -D "{{format}}" {{path/to/file1 path/to/file2 ...}}

pr -m -T {{path/to/file1 path/to/file2 ...}}

pr +2:5 -l {{page_length}} {{path/to/file1 path/to/file2 ...}}

pr -o {{offset}} -W {{width}} {{path/to/file1 path/to/file2 ...}}