Skip to content

Instantly share code, notes, and snippets.

@axecnarf87
axecnarf87 / LINUX BASH COMMAND
Last active August 21, 2025 02:46
Linux Foundations - LFS101x - Introduction to Linux Course - basic Command and some brief basic knowledge
Service - Program which runs as a background process
"initramfs" filesystem image contains programs and binary files that perform all actions needed to mount the proper root filesystem in RAM.
"init" program on the root filesystem (/sbin/init) is executed. Handles the mounting and pivoting over to the final real root filesystem. If special hardware drivers are needed before the mass storage can be accessed, they must be in the initramfs image.
The kernel runs the "/sbin/init" program. This then becomes the initial processes to get the system running.
"parted -l" to determine the type of partition table
"parted /dev/sda p" for listing the device node of the physical drive (/dev/sda), not a partition (/dev/sda1, /dev/sda2, etc. are partitions).
"gdisk -l /dev/sda" Interactive GUID partition table (GPT) manipulator
-The older startup system (SysVinit) viewed things as a serial process, divided into a series of sequential stages.