Learning The Linux File System 2025

Joe Collins (EzeeLinux) October 25, 2025
Video Thumbnail
Joe Collins (EzeeLinux) Logo

Joe Collins (EzeeLinux)

@ezeelinux

About

Linux computing, audio equipment and more... Welcome to my world!

Video Description

This video will show you what's in all those directories in your Linux Machine, NOTE: I couldn't post all of the notes for this vid here... I have posted what I think is the most important info. Linux Filesystem Basics "Path" A path points to a file system location by following the directory tree hierarchy. Example: /home/joe/Documents/letter_to_cindy.txt "Permissions" File attributes that define who can access or change a file and whether a file can be executed as a program. "-rwxr-xr-x" Shows file type and permissions. +-------------+------+-------+ | d--------- | File Type | +-------------+------+-------+ | - = regular file | | d = directory | | l = link | +-------------+------+-------+ | Permission | Octal| Field | +-------------+------+-------+ | -rwx------ | 700 | User | | ----rwx--- | 070 | Group | | -------rwx | 007 | Other | +-------------+------+-------+ Octal values: Read = 4 Write = 2 Execute = 1 You can set permissions in the file manager or with the commend "chmod." Examples: Set a file to be executable and readable by by everyone but only writable by you: 'chmod 755 filemane' Set execute bit without changing other permisions: 'chomd +x filename' When applying permissions to directories on Linux, the permission bits have different meanings than on regular files. The write bit allows the affected user to create, rename, or delete files within the directory, and modify the directory's attributes. The read bit allows the affected user to list the files within the directory. The execute bit allows the affected user to enter the directory and access files and directories inside. "Root" Can refer to the base of a filesystem ("/") or a user with administrator privileges for a Unix/Linux computer. "Tree" A way to visualize filesystem structure. Dir ├── Dir │ ├── File │ ├── File │ └── Dir │ └── File ├── File └── File Here's an explanation of some key directories: / (Root Directory): The top-level directory in the Linux file system hierarchy. All other directories and files are located within this directory or its subdirectories. /bin (Binaries): Contains essential user command binaries that are available to all users, such as ls, cp, mv, and cat. /boot: Contains files required to boot the Linux system, including the kernel and boot loader configuration files. /dev (Devices): Contains device files, which represent hardware devices and pseudo-devices (like /dev/random for random numbers or /dev/null for discarding output). /etc (Et Cetera): Stores system-wide configuration files for various services, applications, and the operating system itself. Examples include network settings and user authentication configurations. /home: Contains individual user home directories. Each user typically has a subdirectory within /home (e.g., /home/username) for their personal files and user-specific configurations. /lib (Libraries): Holds essential shared libraries required by the binaries in /bin and /sbin. /media: A mount point for removable media devices like USB drives and CDs/DVDs. /mnt (Mount): Another mount point for temporarily mounting file systems, often used for network file systems or other temporary mounts. /opt (Optional): Used for installing optional or third-party software that is not part of the standard system distribution. /proc (Processes): A virtual file system that provides information about running processes and kernel parameters. It's dynamically generated and doesn't store files on disk. /root: The home directory for the root user (the superuser with administrative privileges). /run: Contains volatile runtime data, such as process IDs (PIDs) and sockets. This directory is typically cleared on reboot. /sbin (System Binaries): Contains essential system administration binaries, typically used by the root user for system maintenance tasks (e.g., fdisk, reboot). /srv (Services): Stores data for services provided by the system, such as web server content or FTP server data. /sys (System): A virtual file system providing an interface to kernel data structures and device information, allowing inspection and control of system behavior. /tmp (Temporary): A directory for temporary files created by applications or users. Its contents are typically cleared on system reboot. /usr (Unix System Resources): Contains a large portion of the operating system's files, including user programs, libraries, documentation, and header files. It's further organized into subdirectories like /usr/bin, /usr/lib, /usr/share, and /usr/local. /var (Variable): Stores variable data that changes frequently during system operation, such as log files (/var/log), mail queues (/var/spool/mail), and temporary files for web servers (/var/www). Leann more about the Ext file system: https://youtu.be/B6kg2zeJ9do

Linux Learning Essentials

AI-recommended products based on this video

Loading...
MeLE Quieter DL Mini PC Windows 11 Home, N100 4GB 128GB, 2.5G Dual LAN,IoT Industrial Desktop Computer Support Windows 10 11 Linux Ubuntu Debian 4K Triple Display, Dual HDMI, All-in-One USB-C

MeLE Quieter DL Mini PC Windows 11 Home, N100 4GB 128GB, 2.5G Dual LAN,IoT Industrial Desktop Computer Support Windows 10 11 Linux Ubuntu Debian 4K Triple Display, Dual HDMI, All-in-One USB-C

(170)
$239.99
PrimeFREE delivery Sat, Jun 14
Loading...
Laptop Sleeve Case 11–14 Inch MacBook Air MacBook Pro Surface Laptop Dell XPS 13 HP Envy Pavilion Lenovo Yoga Slim IdeaPad Acer Swift Chromebook Samsung Galaxy Book Shockproof Leather Bag Colour Blue

Laptop Sleeve Case 11–14 Inch MacBook Air MacBook Pro Surface Laptop Dell XPS 13 HP Envy Pavilion Lenovo Yoga Slim IdeaPad Acer Swift Chromebook Samsung Galaxy Book Shockproof Leather Bag Colour Blue

(98)
$81.45
Loading...
Gumdrop ProTech Case for Dell New XPS 13 Plus 9320 Laptop- Slim Lightweight Case with Energy Displacement Protection, Non-Skid Rubber Feet and Frosted Exterior for Bumps and Drops (Black)

Gumdrop ProTech Case for Dell New XPS 13 Plus 9320 Laptop- Slim Lightweight Case with Energy Displacement Protection, Non-Skid Rubber Feet and Frosted Exterior for Bumps and Drops (Black)

(49)
$109.43$108.34
FREE delivery Aug 11 - 13
Loading...
65W 45W USB C Laptop Charger Compatible with Dell Latitude 5420 5430 5520 5530 7340 7430 Inspiron 14 16 XPS 13 Chromebook 3100 Dell Computer Type C Fast Charging AC Adapter Power Cord

65W 45W USB C Laptop Charger Compatible with Dell Latitude 5420 5430 5520 5530 7340 7430 Inspiron 14 16 XPS 13 Chromebook 3100 Dell Computer Type C Fast Charging AC Adapter Power Cord

(7)
$19.99
FREE delivery Sun, Aug 24 on your first order
Loading...
45W 65W AC Adapter Laptop Charger for Dell Inspiron 15 14 13 17 3000 5000 7000 Series 5558 5559 Charger Latitude E6440 E6430 3520 3420 XPS 13 14 9333 9350 Notebook Dell Computer Power Supply Cord

45W 65W AC Adapter Laptop Charger for Dell Inspiron 15 14 13 17 3000 5000 7000 Series 5558 5559 Charger Latitude E6440 E6430 3520 3420 XPS 13 14 9333 9350 Notebook Dell Computer Power Supply Cord

(52)
$13.99
FREE delivery Sun, Aug 24 on your first order
100+ bought in past month
Loading...
10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

(1)
$99.99
FREE delivery Mon, Aug 11
Loading...
ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

(49)
$117.29$102.21
$6.86 delivery Thu, Aug 14
Loading...
7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

(61)
$68.99
FREE delivery Tue, Aug 12
Loading...
BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

(288)
$54.14
FREE delivery Sun, Jun 22
Loading...
Western Digital 2TB WD Blue SA510 SATA Internal Solid State Drive SSD - SATA III 6 Gb/s, 2.5"/7mm, Up to 560 MB/s - WDS200T3B0A

Western Digital 2TB WD Blue SA510 SATA Internal Solid State Drive SSD - SATA III 6 Gb/s, 2.5"/7mm, Up to 560 MB/s - WDS200T3B0A

(74,910)
$169.97
FREE delivery Tue, Jun 17
50+ bought in past month
Loading...
Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black
Best Seller

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

(17,871)
$27.98$22.38
FREE delivery Tue, Oct 14 on your first order
500+ bought in past month
Loading...
Logitech G305 Lightspeed Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

Logitech G305 Lightspeed Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

(35,879)
$49.99$44.99
FREE delivery Mon, Jan 26
1K+ bought in past month
Loading...
BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

(288)
$54.14
FREE delivery Sun, Jun 22
Loading...
BrosTrend AX300 Nano WiFi 6 Linux Compatible WiFi Adapter for PC and Raspberry Pi 2+, 2.4GHz Only, 286Mbps, USB WiFi Dongle for Ubuntu, Debian, Mint, Kubuntu, Lubuntu, Zorin, Xubuntu, Windows 11/10/7

BrosTrend AX300 Nano WiFi 6 Linux Compatible WiFi Adapter for PC and Raspberry Pi 2+, 2.4GHz Only, 286Mbps, USB WiFi Dongle for Ubuntu, Debian, Mint, Kubuntu, Lubuntu, Zorin, Xubuntu, Windows 11/10/7

(180)
$22.99
FREE delivery Sun, Jun 22 on your first order
Loading...
BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

(288)
$54.14
FREE delivery Sun, Jun 22
Loading...
BrosTrend Linux WiFi Adapter for Ubuntu, Mint, Debian, Lubuntu, Xubuntu, Mate, Zorin, PureOS, Raspberry Pi 2+, Windows 11/10, 1200Mbps, 5GHz/2.4GHz, Long Range 2 X 5dBi External Antennas, USB3.0

BrosTrend Linux WiFi Adapter for Ubuntu, Mint, Debian, Lubuntu, Xubuntu, Mate, Zorin, PureOS, Raspberry Pi 2+, Windows 11/10, 1200Mbps, 5GHz/2.4GHz, Long Range 2 X 5dBi External Antennas, USB3.0

(1,644)
$46.99
FREE delivery Sun, Jun 22
Loading...
BrosTrend 650Mbps Linux WiFi Adapter for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Xubuntu, Zorin, PureOS, Raspberry Pi 2+, Windows 11/10/8/7/XP 5G/2.4G

BrosTrend 650Mbps Linux WiFi Adapter for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Xubuntu, Zorin, PureOS, Raspberry Pi 2+, Windows 11/10/8/7/XP 5G/2.4G

(1,832)
$29.99
FREE delivery Sun, Jun 22 on your first order
Loading...
BrosTrend Linux USB WiFi Adapter 1200Mbps Supports Ubuntu, Mint, Debian, Kubuntu, Mate, Zorin, PureOS, Raspberry Pi 2+, Windows 11/10, USB3.0 Wireless Dual Band Wi-Fi 5GHz/867Mbps + 2.4GHz/300Mbps

BrosTrend Linux USB WiFi Adapter 1200Mbps Supports Ubuntu, Mint, Debian, Kubuntu, Mate, Zorin, PureOS, Raspberry Pi 2+, Windows 11/10, USB3.0 Wireless Dual Band Wi-Fi 5GHz/867Mbps + 2.4GHz/300Mbps

(1,977)
$37.99
FREE delivery Sun, Jun 22
Loading...
Murdle: Volume 1: 100 Elementary to Impossible Mysteries to Solve Using Logic, Skill, and the Power of Deduction

Murdle: Volume 1: 100 Elementary to Impossible Mysteries to Solve Using Logic, Skill, and the Power of Deduction

(6,443)
$15.23$12.95
FREE delivery Tue, Apr 7 on your first order