Rico's Nerd Cluster

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

Linux - Process Signals SIGINT, SIGTERM, SIGKILL, SIGQUIT, and SIGTSTP Explained

NIC

Signal Number Description Keyboard How it’s sent / Source Handling / Behavior SIGINT 2 Interactive interrupt Ctr...

Linux - Networking

NIC

Ethernet and NIC NIC = Network Interface Controller; The ethernet card is by far the most common type of NIC. It’s often integrated on the motherboard, but equivalently, it’s equivalent to going t...

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

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...