惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

U
Unit 42
The Cloudflare Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Y
Y Combinator Blog
G
Google Developers Blog
Vercel News
Vercel News
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Jina AI
Jina AI
Blog — PlanetScale
Blog — PlanetScale
H
Help Net Security
博客园 - 三生石上(FineUI控件)
MongoDB | Blog
MongoDB | Blog
S
SegmentFault 最新的问题
阮一峰的网络日志
阮一峰的网络日志
H
Hackread – Cybersecurity News, Data Breaches, AI and More
aimingoo的专栏
aimingoo的专栏
T
Tailwind CSS Blog
博客园 - 叶小钗
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
月光博客
月光博客
Microsoft Security Blog
Microsoft Security Blog
P
Proofpoint News Feed
The GitHub Blog
The GitHub Blog
云风的 BLOG
云风的 BLOG

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
cat: What It Is, What It Does, and Why It does it Matter
Brendan Akud · 2026-05-19 · via DEV Community
Cover image for cat: What It Is, What It Does, and Why It does it Matter

Brendan Akudo

What is cat?

If you have spent any time in a terminal, you have typed it. Short for concatenate, cat is a fundamental command-line utility that reads files and streams their contents to standard output. It is simple, ubiquitous, and perfectly encapsulates the core Unix ethos: do one thing, and do it well.
The History: Ken Thompson and Unix v1

Born in 1971 at Bell Labs, cat was authored by Ken Thompson as one of the foundational tools for the first edition of Unix. Its original design was straightforward: accept multiple files, stitch them together sequentially, and dump the output to the screen or redirect it to a new file.
cat file1.txt file2.txt > combined.txt

Initially written in assembly to squeeze performance out of hardware with just 8K of memory, it was quickly rewritten in C by Dennis Ritchie. This milestone was one of the first proof-of-concept projects validating C as a viable systems language. The Evolution: GNU and BSD Lineages. As modern computing branched out, so did cat. In the 1980s, the Free Software Foundation rebuilt it as part of the GNU coreutils suite. This iteration grew a variety of formatting flags designed to expose hidden file details.

Concurrently, the Berkeley Software Distribution (BSD) ecosystem created a streamlined variant. This version persists today as the silent, minimalist implementation that is natively shipped with macOS.
Philosophical Debates: "cat -v Considered Harmful."

The inclusion of flags sparked an early ideological rift. Computer scientist Rob Pike famously critiqued the GNU additions in his essay "UNIX Style, or cat -v Considered Harmful". He argued that bloating fundamental utilities violated the core philosophy of composability: if you need to inspect non-printing characters, you should pipe output to a specialized inspection tool, keeping cat perfectly lightweight.

Practical, Essential Workflows

Beyond standard reading, cat handles complex utilities cleanly when combined with shell native operators:

Multi-file compilation: Use basic redirection to quickly combine continuous notes.

Enter fullscreen mode Exit fullscreen mode

cat intro.md body.md conclusion.md > manuscript.md