/ : The entire file system starts here. All other directories are located under this folder. You can think of it like Local Disk C: in Windows.

/bin (Binary)

The system's essential command files are located here. It contains basic commands that both the users and the system can execute.

Example: ls → /bin/ls cp → /bin/cp

/sbin (System Binaries)

System tools executed by the root user are located here.

Example: reboot → /sbin/reboot

/dev (Devices)

Device files are stored here. In Linux, everything is a file — even devices.

Example: fdisk /dev/sda → the primary physical disk (Samsung 980 Pro SSD / VirtualBox virtual disk)

These files represent hardware but are virtual files.

/etc (Etcetera — Configuration Files)

System-wide configuration files are stored here.

Examples: /etc/passwd → User information /etc/network/interfaces → Network settings /etc/apt/sources.list → If this gets corrupted, apt-get update will not work /etc/shadow → Password hashes are stored here

/home

Personal directories belonging to each user are located here.

Example: /home/jean /home/mert /home/john /home/berk

Users store their documents, desktop files, and settings here.

/usr (Unix System Resources)

Programs, libraries, and documentation are stored here.

Examples: /usr/bin → User applications /usr/lib → Software libraries

/var (Variable)

Contains files that change frequently (logs, cache, etc.).

Examples: /var/log → Log files /var/log/auth.log → Login attempts /var/log/nginx/nginx.log → Nginx logs /var/cache → Cache files

/tmp

Temporary files are stored here. These are usually cleared when the system is rebooted.

/boot

System boot files (kernel, GRUB, etc.) are stored here.

Examples: /boot/vmlinuz → Linux kernel /boot/grub/grub.cfg → GRUB configuration file

/lib & /lib64

Contains shared libraries required by executable files. Tools under /bin and /sbin use these libraries.

— — — — — — — — — — — — — — — — — — — — — Turkish:

/ : Tüm dosya sistemi buradan başlar. Diğer tüm dizinler bu klasörün altında yer alır. Windows'taki Yerel Disk C: gibi düşünebilirsiniz.

/bin (Binary)

Sistemin temel komut dosyaları burada bulunur. Kullanıcıların ve sistemin çalıştırabileceği temel komutlar içerir.

Örnek: ls/bin/ls cp/bin/cp

/sbin (System Binaries)

Root tarafından çalıştırılan sistem araçları burada bulunur.

Örnek: reboot/sbin/reboot

/dev (Devices)

Cihaz dosyaları burada yer alır. Linux'ta her şey bir dosyadır, cihazlar bile.

Örnek: fdisk /dev/sda → birincil fiziksel disk (Samsung 980 Pro SSD / VirtualBox sanal disk)

Bu dosyalar donanımı temsil eder, ancak sanal dosyalardır.

/etc (Etcetera — Yapılandırma Dosyaları)

Sisteme ait genel yapılandırma dosyaları burada bulunur.

Örnekler:

  • /etc/passwd → Kullanıcı bilgileri
  • /etc/network/interfaces → Ağ ayarları
  • /etc/apt/sources.list → Bozulursa apt-get update çalışmaz
  • /etc/shadow → Şifre hashleri burada saklanır

/home

Her kullanıcıya ait kişisel dizinler burada bulunur.

Örnek: /home/jean /home/mert /home/john /home/berk

Kullanıcılar belgelerini, masaüstlerini ve ayarlarını burada tutar.

/usr (Unix System Resources)

Programlar, kütüphaneler (libraries) ve dokümantasyonlar burada yer alır.

Örnekler:

  • /usr/bin → Kullanıcı uygulamaları
  • /usr/lib → Yazılım kütüphaneleri

/var (Variable)

Sürekli değişen dosyalar (log, cache vb.) burada bulunur.

Örnekler:

  • /var/log → Log dosyaları
  • /var/log/auth.log → Giriş denemeleri
  • /var/log/nginx/nginx.log → Nginx logları
  • /var/cache → Cache dosyaları

/tmp

Geçici dosyalar burada tutulur. Sistem reboot edildiğinde genelde temizlenir.

/boot

Sistem önyükleme dosyaları (kernel, GRUB vb.) burada bulunur.

Örnekler:

  • /boot/vmlinuz-* → Linux çekirdeği
  • /boot/grub/grub.cfg → GRUB yapılandırma dosyası

/lib & /lib64

Çalıştırılabilir dosyalar tarafından ihtiyaç duyulan paylaşılan kütüphaneleri içerir. /bin ve /sbin altındaki araçlar bu kütüphaneleri kullanır.