Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M0682

Unix Philosophy

Unix Philosophy
CultureHigh supportPhilosophy
Included
account_tree

Updated 2026-07-30

Loading revision record…

Summary

The Unix philosophy, originated by Ken Thompson, is a set of cultural norms and philosophical approaches to minimalist, modular software development. It is based on the experience of leading developers of the Unix operating system. Early Unix developers were important in bringing the concepts of mod…

Definition

Originated by Ken Thompson and others. Core principles: Do one thing and do it well; write programs to work together; use text streams as the universal interface. Scaffolding use: - Modular thinking: oppose the "bloated" monolithic system. When building any complex system (including company departments), pursue small, independent, composable modules rather than giant monoliths.

How to use

- Modular thinking: oppose the "bloated" monolithic system. When building any complex system (including company departments), pursue small, independent, composable modules rather than giant monoliths.

Mechanism

Use small tools combined to replace large monoliths: each program does one thing and does it well; programs cooperate; use text streams as the universal interface. Modules are small, independent, and composable; overall capability emerges from "pipes", resisting bloat, easy to maintain and reuse.

Practice

In progress 0/4

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • `grep | sort | uniq -c` chains small commands to complete statistics, rather than writing an "all-in-one" script.

Common pitfalls

  • Forcing smallness leads to too many tools; or violating the "text interface" by using private formats that block composition.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/Unix_philosophyZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS