Rico's Nerd Cluster

「离开世界之前 一切都是过程」

Linux - Networking

NIC, Wireshark

Networking Layers: From DDS Payload to Wire Format When we talk about “sending a DDS message,” it’s easy to think of it as a single thing moving across the system. In reality, networking is layere...

Linux - Power Loss Meltdown

initramfs

🚑 What broke Sudden power-loss left the system in an inconsistent state. (while /roota was being modified) First boot stopped in BusyBox with ALERT! UUI...

Linux - Provisioning of My Machine

fzf

NVIDIA Driver Open the Additional Drivers application Select NVIDIA driver metapackage from nvidia-driver-570 (proprietary, tested) Reboot Run nvidia-smi to ensure it worked Nvidia Dock...

Linux - Operating System

Paging, Concurrency, Time

Paging A page of memory is the smallest fixed-length block of virtual memory managed by OS. To use virtual memory, the OS needs to transfer pages between the main memory and the secondary memory. ...

Linux Miscellaneous Thingies

Window Focus, Screenshots, File System, Shortkeys, UART, Tmux, ffmpeg, Firefox, Chrome, Power Modes

Screenshots sudo apt install gnome-screenshot Open keyboard shortcuts -> add custom shortcuts I use ctrl-alt-4 to enable gnome-screenshot -a Window Focus ===========================...

Linux - Packaging Systems

apt, dpkg

Installation Chain apt, apt-get, apt-cache talks to the repository servers, download .deb, calculate dependency tree, the hand the final files to dpkg for the actual install. E.g., 1 sudo apt ins...

Linux - Programming And Toolchain

ldd

ELF and Dynamic Linking Executable and Linkable Format (ELF) is the standard binary file format on Linux, most BSDs, and many embedded systems. It replaces older a.out and COFF formats. | Aspect ...

Linux - Filesystem

inode, soft/symbolic link, FIFO, File Lock

Inode On every Unix-style filesystem (ext4, XFS, APFS, etc.), each regular file, directory, FIFO, … is represented on disk by a tiny metadata record called an inode (“index node”). That’s like a f...

Linux - Udev Rules, Systemd Services, inotify

Udev Rules Systemd Services, Inotify

Udev Unix Kernel is a monolithic kernel and provides API to access these hardware. Udev is a device manager of Linux Kernel, and serves as a successor of the Unix Kernel. It handles device nodes i...

Linux - SSH and X Window System

X Window System, SSH, Static IP

What is X? X Window System (or X11, X) renders graphics on display hardware. It can interact with input devices such as a mouse, keyboard, etc., to create effects like dragging windows and click...