Mappen en bestandssystemen
Terug
Volgende

Mappen en bestandssystemen

In Linux and Unix everything is a file. Directories are files, files are files, and devices are files. Devices are usually referred to as nodes; however, they are still files.

Bestandssystemen in Linux en Unix zijn georganiseerd in een hierarchische, vertakte structuur. Het hoogste niveau van het bestandssysteem is de / of "root" ("wortel") map. Alle andere bestanden en mappen bevinden zich onder de "root" map. Een voorbeeld : /home/konqi/kubuntu.odt toont het juiste volledige pad, of het absolute pad, naar het bestand kubuntu.odt dat zich bevindt in de konqi map, die zich bevindt onder de home map, die zich op zijn beurt bevindt onder de "root" (/) map.

Onder de root (/) map bestaan er een aantal belangrijke mappen die veel voorkomen in de meeste Linux distributies. Het volgende is een lijst van de meest voorkomende mappen die zich direct onder de root (/) map bevinden:

/bin

Belangrijke commando's, die vroeger binair waren, maar ook shell scripts kunnen zijn.

/boot

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

/dev

The device files.

/etc

Configuration files, startup scripts, etc.

/home

Home directories for different users.

/initrd

Used when creating a customized initial RAM Disk.

/lib

System libraries.

/lost+found

Provides a lost+found system for files that exist under the root (/) directory.

/media

Automatically mounted (loaded) removable media such as CDs, digital cameras, etc.

/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

temporary files.

/usr

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

/var

variable files such as logs and databases.

Terug
Volgende
Begin