×
Jinxia Li
Console>tty>shell>command

Console is the keyboard and display Terminal window, which is a software emulation of a teletype (TTY). The use of 0,1,2 for stdin/stdout/stderr is just a shell convention […]

Read More
Text Terminal, Shell, tty, console

Text Terminal: hardware like electronic keyboards and displays, through which the user can interact with a computer. A terminal emulator, connected to a virtual terminal, identified by a tty file, inside […]

Read More
Standard Streams & I/O Redirection

Standard Streams In computer programming, standard streams are interconnected input and output communication channels between a process and it environments. The three input/out connections are called standard input, […]

Read More
File Descriptors, I/O Redirection, Processes, Network Programming and Concurrency

I like to understand how things work (together) by asking myself questions. So let’s get started. Question 1: What is input/output? Input/output(I/O) is the process of copying data […]

Read More
Data flow from I/O to main memory

From I/O to main memory: 1) Reading from keyboard: USB controller->I/O bridge->Register File->I/O bridge->Main Memory 2) Loading from disk: Disk controller->I/O bridge->Main Memory 3) Reading from network: Network […]

Read More
Virtual Memory

Reference: Dynamic Memory Allocation and Virtual Memory https://www.cprogramming.com/tutorial/virtual_memory_and_heaps.html

Read More