pr is a
command on various
operating system
An operating system (OS) is system software that manages computer hardware, software resources, and provides common daemon (computing), services for computer programs.
Time-sharing operating systems scheduler (computing), schedule tasks for ef ...
s that is used to paginate or columnate
computer file
A computer file is a computer resource for recording data in a computer storage device, primarily identified by its file name. Just as words can be written to paper, so can data be written to a computer file. Files can be shared with and trans ...
s for printing. It can also be used to compare two files side by side, as an alternative to
diff.
It is a required program in a
POSIX-compliant environment and has been implemented by
GNU as part of the
GNU Core Utilities. The command is available as a separate package for
Microsoft Windows as part of the
UnxUtils collection of
native Win32 ports of common GNU Unix-like utilities. It is also available in the
OS-9 shell. The command has also been ported to the
IBM i operating system.
References
External links
*
*
{{Core Utilities commands
Unix SUS2008 utilities
Plan 9 commands
IBM i Qshell commands