Summary of Linux File Directories, Disk File Systems, and Compression Commands

Summary of Linux File Directories, Disk File Systems, and Compression Commands

Summary of Linux File Directories, Disk File Systems, and Compression Commands File and Directory Management Basic Commands • ls – List directory contents ls # List files and directories in the current directory ls -l # Long format to display detailed information ls -a # Show all files (including hidden files) ls -la # Show … Read more

Common Linux Disk Management Commands

Common Linux Disk Management Commands

1. Common Disk Management Commands Command Description Core Purpose df Displays disk space usage of file systems View overall disk usage and remaining space du Counts disk usage of files/directories Analyze storage usage of specific directories or files fdisk Disk partition management tool Create, delete, and adjust disk partitions mkfs Formats a disk partition to … Read more

Linux Disk Management: A Complete Process from Mounting to Daily Maintenance

Linux Disk Management: A Complete Process from Mounting to Daily Maintenance

Physical Device Recognition In Linux, everything is a file. When you connect a new disk to the system, the Linux kernel detects this device through the udev event mechanism: # View the disk devices recognized by the system $ lsblk $ ls -l /dev/sd* Disk devices are typically represented by paths such as /dev/sda, /dev/sdb, … Read more

Unlocking Linux Disk and File System: Enhance Your Data Management!

Unlocking Linux Disk and File System: Enhance Your Data Management!

Linux | Red Hat Certified | IT Technology | Operations Engineer 👇 Join the technical exchange QQ group of 1000 people, note 【public account】 for faster approval 1. Physical Structure of the Disk The physical structure of the disk is shown in the figure: The specific physical storage structure is as follows: The basic unit … Read more