Directoare şi sisteme de fişiere
Înapoi
Înainte

Directoare şi sisteme de fişiere

În Linux şi Unix toate obiectele sunt reprezentate ca fişiere. Directoarele sunt fişiere, fişierele sunt fişiere şi dispozitivele sunt fişiere. Dispozitivele sunt numite în general noduri; totuşi, sunt tot fişiere.

Sistemele Linux şi Unix sunt organizate ierarhic intr-o structura arborescentă.Cel mai ridicat nivel al sistemului de fişiere este / sau dosarul rădăcină.Toate fişierele şi directoarele există în directorul rădăcină.De exemplu,/home/konqi/kubuntu.odt arată o întreagă cale sau una absolută pentru kubuntu.odt fişier care există în dosarul konqi,care este în dosarul home, care la randul său este în rădăcină (/)

În directorul root (/) se află un set important de directoare, comune pentru majoritatea distribuţiilor de Linux. Mai jos se prezintă o listă a directoarelor comune care se află chiar în directorul root (/):

/bin

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

/boot

Fişierele de configurare Boot,nucleu şi alte fişiere necesare în timpul boot.

/dev

The device files.

/etc

Configuration files, startup scripts, etc.

/home

Dosarul Acasă pentru utiluzatori diferiţi.

/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

Montare automată(încărcare) penru media detaşsbile cum ar fi CD-urile,camere digitale,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.

Înapoi
Înainte
Acasă