Grablo Help Grablo Help
  • User Manual
  • Tips
  • News
  • Go to
    • Grablo Home
    • Grablo App
  • 한국어
Grablo Help Grablo Help
문의하기
Grablo Help Grablo Help
  • User Manual
  • Tips
  • News
  • Go to
    • Grablo Home
    • Grablo App
  • 한국어
loading
  1. Home
  2. Tips
  3. Linux
  4. Linux Directory Structure
Updated on August 11, 2025

Tips

  • Folder icon closed Folder open iconBasics
    • Bits and Bytes
    • Digital Input/Output
    • Digital/Analog Signals
    • Calculating LED Resistor Values
    • Pull-up/down Resistors
    • 3.3V ↔ 5V Conversion
    • Serial Communication (UART)
    • DC Motor, Servo Motor, Stepper Motor
    • Multi Thread
    • Relay
  • Folder icon closed Folder open iconHardware
    • Raspberry Pi
      • GPIO
      • Installing Operating System
      • How to Change 1-Wire Pin
      • How to Find I2C Device Addresses
      • Raspberry Pi vs Arduino
      • Serial (UART) Port
      • Using Desktop Environment with VNC
    • Beagle Bone
      • GPIO
      • Installing Operating System
    • Jetson Nano
      • GPIO
      • Installing Operating System
    • GPIO Expander
      • FT232H/FT2232H/FT4232H
      • MCP2221A
      • NUMATO USB-GPIO
  • Folder icon closed Folder open iconLinux
    • Linux Directory Structure
    • Configuring Linux Auto Login
    • Installing Linux on Windows (Virtual Machine)
    • Installing Linux on macOS (Virtual Machine)
    • Installing SSH Server
    • Finding Your Controller’s IP Address
    • Connecting via SSH
    • Transferring Files Between PC and Controller
    • Fixing “User is not in the sudoers file” Error
  • Folder icon closed Folder open iconAudio/Video
    • Fixing Audio Stuttering and Latency Issues
    • Playing Audio Through Bluetooth Speakers
    • Selecting Instruments from SoundFont Files
    • Fixing “Failed to create new vlc instance” Error
  • Folder icon closed Folder open iconDatabase
    • Setting Up Firebase Database
  • Folder icon closed Folder open iconIoT
    • Setting Up Google Cloud TTS/STT
    • Setting Up OpenAI TTS/STT
    • Setting Up ElevenLabs TTS
    • Setting Up Telegram Bot
    • Getting Data from WeatherAPI.com

Linux Directory Structure

Estimated reading: 2 minutes 224 views

Linux and Windows have the following differences in their directory structures.


Root Directory

  • Linux: All files and directories are arranged hierarchically under a single root directory /. Examples: /home, /etc, /usr.

  • Windows: Each drive (e.g., C:\, D:\) has its own separate root directory.



Path Separator

  • Linux: / (forward slash) Example: /home/user/documents/file.txt

  • Windows: \ (backslash) Example: C:\Users\user\Documents\file.txt



Drive Naming Convention

  • Linux: Drives are “mounted” as directories and appear under directories like /mnt or /media.

  • Windows: Drives are identified by letters (e.g., C:\, D:\).



Linux Directory Structure

The Linux directory structure and description of each directory are as follows:


  • /: The top-level directory of the Linux file system hierarchy. It typically does not store data.


  • /bin: Short for “binary”, this directory contains Linux software and commands.


  • /boot: Contains files needed for booting and stores data related to kernel loading. It also includes GRUB bootloader files.


  • /dev: Short for “device”. This directory stores files related to hardware devices, including files for hard disks, CD-ROMs, audio, and input devices.


  • /etc: Short for “Etcetera”. Contains configuration files related to system and user packages.


  • /home: Directory for users, similar to the “C:\Users\username” folder in Windows. When a user is created in Linux, a folder accessible only to that user is created under the /home directory.


  • /root: The home directory of the root user (super administrative user). While regular users’ home directories are created under /home/username, the root user’s home directory is located at /root.


  • /run: A memory-based temporary file system (TMPFS) that stores runtime data (PID, sockets, lock files, etc.) created after system boot.


  • /sbin: Short for “System Binary”. Similar to the /bin directory, but stores executable files needed for system maintenance or administrative tasks. Typically includes executable files related to booting, backup, and recovery.


  • /tmp: Directory where temporary files are stored. For example, when downloading and installing packages, you can download to the /tmp directory and then install. This directory is accessible to all users.


  • /usr: Short for “Unix System Resources”. One of the most useful directories in the Linux operating system, containing read-only data such as shareable binaries, documentation, and libraries. Used as a user system resources directory.


  • /var: Short for “Variable”. One of the important directories in Linux with characteristics opposite to the /usr directory. Stores dynamically changing data (e.g., log files).

찾으시는 내용이 없나요? 문의하기

문의하기

공유하기

Linux Directory Structure

Or copy link

Clipboard Icon
콘탠츠

ㅤ

Grablo Inc.
support@grablo.co

Site Links

  • Grablo Home
  • Grablo App

이 사이트의 모든 컨텐츠는 저작권법에 보호받는 저작물로서, 무단으로 복제, 배포하는 경우에는 저작권법에 의하여 처벌을 받을 수 있습니다. Copyright 2024 grablo.co. All Rights Reserved.