# Pr (Unix)

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/Pr_(Unix)
> Markdown URL: https://mediated.wiki/source/Pr_(Unix).md
> Source: https://en.wikipedia.org/wiki/Pr_(Unix)
> Source revision: 1327249385
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{lowercase}}
{{Infobox software
| name                   = pr
| logo                   = 
| screenshot             = 
| screenshot size        = 
| caption                = 
| author                 = [Ken Thompson](/source/Ken_Thompson),<br />[Dennis Ritchie](/source/Dennis_Ritchie)<br />([AT&T Bell Laboratories](/source/AT%26T_Bell_Laboratories))
| developer              = Various [open-source](/source/open-source_software) and [commercial](/source/commercial_software) developers
| released               = {{Start date and age|1971|11|3}}
| latest release version = 
| latest release date    = 
| operating system       = [Unix](/source/Unix), [Unix-like](/source/Unix-like), [Plan 9](/source/Plan_9_from_Bell_Labs), [OS-9](/source/OS-9), [IBM i](/source/IBM_i)
| platform               = [Cross-platform](/source/Cross-platform)
| genre                  = [Command](/source/Command_(computing))
| license                = [coreutils](/source/coreutils): [GPLv3+](/source/GPLv3%2B)
| website                = 
}}
'''pr''' is a [command](/source/command_(computing)) on various [operating system](/source/operating_system)s that is used to paginate or columnate [computer file](/source/computer_file)s for printing. It can also be used to compare two files side by side, as an alternative to [diff](/source/diff_(Unix)).

It is a required program in a [POSIX](/source/POSIX)-compliant environment and has been implemented by [GNU](/source/GNU) as part of the [GNU Core Utilities](/source/GNU_Core_Utilities). The command is available as a separate package for [Microsoft Windows](/source/Microsoft_Windows) as part of the [UnxUtils](/source/UnxUtils) collection of [native](/source/Native_(computing)) [Win32](/source/Windows_API) [ports](/source/porting) of common GNU Unix-like utilities.<ref>{{Cite web|url=https://unxutils.sourceforge.net/|title=Native Win32 ports of some GNU utilities|website=unxutils.sourceforge.net}}</ref> It is also available in the [OS-9](/source/OS-9) shell.<ref>{{cite book|author=Paul S. Dayan|year=1992|title=The OS-9 Guru - 1 : The Facts|publisher=Galactic Industrial Limited|isbn=0-9519228-0-7}}</ref> The {{Mono|pr}} command has also been ported to the [IBM i](/source/IBM_i) operating system.<ref>{{cite web |title=IBM System i Version 7.2 Programming Qshell |language=en |author=IBM |website=[IBM](/source/IBM) |author-link=IBM |url=https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_74/rzahz/rzahzpdf.pdf?view=kc |access-date=2020-09-05 }}</ref>

==References==
{{Reflist}}

==External links==
* {{man|cu|pr|SUS}}
* {{man|1|pr|Plan 9}}

{{Unix commands}}
{{Core Utilities commands}}

Category:Unix SUS2008 utilities
Category:Plan 9 commands
Category:IBM i Qshell commands

{{Unix-stub}}

---
Adapted from the Wikipedia article [Pr (Unix)](https://en.wikipedia.org/wiki/Pr_(Unix)) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/Pr_(Unix)?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
