exemplar
also: example, reference implementation, model, template
An exemplar is a typical or ideal example of something that serves as a model or standard for comparison. In Linux contexts, it often refers to a reference implementation or sample code that demonstrates best practices.
An exemplar functions as a canonical example—a well-crafted instance that illustrates how something should be done correctly. In Linux documentation and development, exemplars help users understand proper usage patterns, configuration, or implementation approaches.
For example, a shell script exemplar might demonstrate proper error handling with set -e, using functions for modularity, and including helpful comments. Similarly, a systemd service file exemplar would show correct syntax for [Unit], [Service], and [Install] sections with recommended practices like Type=simple or appropriate Restart= policies.
Exemplars are particularly valuable in open-source projects where community contributors use them as templates to maintain consistency and quality standards across codebases.