Liangxu Linux
Liangxu Linux
May 8, 2025 · Fundamentals

Is Everything Really a File in Linux? Understanding the Core Concept

The article explains that the famous Linux mantra “everything is a file” is a design philosophy offering a unified interface for diverse resources, outlines which objects are treated as files, and discusses why modern kernels have moved some components away from this model.

Device FilesI/O RedirectionUnix Philosophy
0 likes · 7 min read
Is Everything Really a File in Linux? Understanding the Core Concept
Liangxu Linux
Liangxu Linux
Jun 27, 2023 · Fundamentals

How to Access and Communicate with Linux Serial Ports Using C

This guide explains Linux serial port device files, shows how to list them, and provides four C programming methods—polling, select‑based interrupt, SIGIO signal handling, and threaded reading—complete with code examples and detailed configuration steps.

C++Device FilesLinux
0 likes · 10 min read
How to Access and Communicate with Linux Serial Ports Using C
Liangxu Linux
Liangxu Linux
Jun 20, 2023 · Fundamentals

Understanding /dev/tty, /dev/tty0, and /dev/console in Linux

This article explains the distinct roles of the Linux special device files /dev/tty, /dev/tty0, and /dev/console, showing how each maps to the current terminal, the graphical virtual console, and the kernel boot console respectively, with command examples and usage details.

Device FilesLinuxSystem Administration
0 likes · 4 min read
Understanding /dev/tty, /dev/tty0, and /dev/console in Linux
Liangxu Linux
Liangxu Linux
Sep 23, 2019 · Fundamentals

What Is a Terminal? From Early Mainframes to Modern Linux Device Files

This article explains the concept of a terminal, tracing its evolution from massive mainframe consoles to today’s Linux tty, ptmx, and pts devices, covering physical, remote, and virtual terminals, their role in user interaction, and how login mechanisms like getty work.

Device FilesPseudo‑terminalSSH
0 likes · 14 min read
What Is a Terminal? From Early Mainframes to Modern Linux Device Files
ITPUB
ITPUB
Jul 22, 2019 · Fundamentals

What Exactly Is a Terminal? From Early Mainframes to Linux Device Files

The article explains the concept of a terminal—any hardware or software that provides input and output for a computer—tracing its evolution from massive early consoles through multi‑user time‑sharing systems to modern Linux device files like /dev/tty, /dev/ptmx, and remote SSH sessions.

Device FilesLinuxPseudo‑terminal
0 likes · 15 min read
What Exactly Is a Terminal? From Early Mainframes to Linux Device Files