Getting Started with Unix/Linux: File System Basics

btd
32 min readJan 28, 2024
Outline:

I. Introduction to Unix/Linux File System
1. Hierarchical Structure
2. Disk Partition
3. File Types
4. File Attributes
5. File Naming
6. File System Components
7. File System Types
8. File System Navigation
9. Mount Points
10. File System Utilities

II. File Type - Directory
1. Hierarchical Structure
2. Root Directory
3. Full Pathname
4. Relative Pathname
5. Basename
6. dirname with Respect to Pathname
7. Filetree
8. Permission & Ownership
9. Your Home Directory
10. /tmp and Sticky Bit

III. File Type - Regular File

IV. File Type - Socket File

V. File Type - FIFO File

VI. File Type - Hard Link

VII. File Type - Soft Link

VIII. File Type - Device Files (Character File & Block File)
1. Common Device File Naming Conventions
2. Device File Permission
3. Block Device
4. Character Device

IX. File Types Comparison
1. Regular File vs. Hard Link
2. Hard Link vs. Soft Link

I. File System:

The file system is a critical component of any operating system, including Unix/Linux. It’s responsible for organizing and managing files and directories on storage devices such as hard drives, SSDs, and flash drives. Here’s a deep dive into the file system in Unix/Linux:

1. Hierarchical Structure:

  • Unix/Linux file systems follow a hierarchical structure…

--

--