Direktori dan Sistem Berkas
Kembali
Lanjut

Direktori dan Sistem Berkas

Di Linux dan Unix segala sesuatu adalah berkas. Direktori adalah berkas, berkas juga berkas, dan divais juga merupakan berkas. Divais sering disebut juga sebagai inode; tapi, divais tetap merupakan berkas.

Sistem file pada Linux dan Unix terorganisir dalam sebuah hirarki, struktur seperti pohon. Level sistem file yang paling tinggi adalah / atau direktori root. Semua file dan direktori yang lain berada dibawah direktori root. Sebagai contoh, /home/konqi/kubuntu.odt memperlihatkan path yang utuh atau path yang absolut, terhadap kubuntu.odt yang berada didalam direktori konqi, yang berada dibawah direktori home, yang juga berada dibawah direktori root (/).

Dibawah direktori root (/) sejumlah direktori-direktori penting bersama-sama membentuk distribusi Linux. Berikut ini adalah senarai direktori yang berada langsung dibawah direktori (/):

/bin

Important commands, which historically have been binary, but may also be shell scripts.

/boot

Boot configuration files, kernels, and other files needed at boot time.

/dev

The device files.

/etc

Configuration files, startup scripts, etc.

/home

Direktori Home untuk pengguna lain.

/initrd

Digunakan ketika membuat sebuah initial RAM Disk.

/lib

System libraries.

/lost+found

Menyediakan sebuah sistem lost+found untuk file-file yang berada dibawah direktori root (/).

/media

Secara otomatis me-mount (memuat) removable media seperti CD, kamera digital, dll.

/mnt

Manually mounted filesystems on your hard drive.

/opt

Provides a location for optional (3rd party) applications to be installed; these are usually statically compiled and can be used in other versions or Linux distributions.

/proc

Special dynamic directory that maintains information about the state of the system, including currently running processes.

/root

Root user's home directory, pronounced "slash-root".

/sbin

Important system binaries and scripts, usually intended to be run as the root user.

/srv

Can contain files that are served to other systems.

/sys

Similar to the /proc filesystem, but contains system information not related to running processes.

/tmp

file-file temporary.

/usr

Applications and read-only files that are mostly available for all users to access.

/var

file-file variable seperti log dan database.

Kembali
Lanjut
Depan