
Note
To get a complete understanding of the Linux™ file system, the Linux™ Filesystem Hierarchy documentation hosted by tldp is recommended reading.
A filesystem is a method of storing and organizing files — not only in Linux™, but also in other computer operating systems. In Linux™, most files are “regular files”, except for directories, special files, links, sockets, and named pipes. The most common filetypes that users interact with are regular files, directories, and links.
Open a terminal (in Kubuntu™ this is called Konsole) and typing
ls /
This brings up a list similar to the following:
bin boot cdrom dev etc home initrd.img lib lib32 lib64 lost+found media mnt proc root sbin selinux srv sys tmp usr var vmlinuz
Note
No todas las listas aparecerán exactamente como la anterior.
Lo siguiente es un resumen de los archivos o directorios mencionados anteriormente.
Resumen del sistema de archivos
bin
Contains terminal commands that are useful to system administrators (who have full access privileges) and to regular users (who have limited access privileges). The commands in this directory are essential to the operation of a Linux™ system. Some of the commands in the
bin
directory are bash, ls, cp, and cat.boot
Contains the files required for the boot process. In the case of Kubuntu™, it contains the files for the GRUB2 boot-loader, master boot records, map files, and the Linux™ kernel.
cdrom
A symlink or “symbolic link” to
/media/cdrom
, which itself is a symlink to/media/cdrom0
. If a CD is placed into the CDROM drive, the contents of that CD will be available in the/media/cdrom0
directory.dev
Location of special or device files. For example,
/dev/sda0
is the first partition on the hard drive.etc
Contiene todos los archivos de configuración del sistema empleados para controlar la operación de los programas.
home
Contiene un directorio personal para cada usuario del sistema. El directorio personal de un usuario puede contener archivos de configuración, documentos, música, vídeos y otros archivos y directorios definidos por el usuario.
initrd.img
A symlink to
/boot/initrd.img-<kernel version>
which is required for system startup.lib
Contiene los módulos del núcleo y las bibliotecas compartidas necesarias para arrancar el sistema y ejecutar órdenes.
lib32
Same as
lib
above, but contains only the 32-bit versions.lib64
Same as
lib
above, but contains only the 64-bit versions.lost+found
Contiene el resultado de cualquier operación de recuperación debida a un cierre inapropiado o fallo del sistema.
media
Contains the subdirectories which are used as mount points for removable media, such as CDROM drives, USB disks, or floppy disks.
mnt
Generic mount point for filesystems or devices. In most cases,
media
is where most devices will be auto-mounted.opt
Abreviatura de “opcional”. Este directorio es utilizado para paquetes adicionales que son generalmente instalados manualmente por el usuario.
proc
Sistema de archivos virtual que contiene información del sistema de ejecución que está presente en un estructura como de archivos.
/root
El directorio de inicio del administrador del sistema, conocido como “root”.
sbin
Contains programs that are essential to the working of the system, such as fdisk, ifconfig, reboot, and shutdown.
selinux
A pseudo-filesystem containing the commands used by the kernel sub-system for the Security-Enhanced Linux™ feature.
srv
Contiene datos específicos del sitio que estan servidos por el sistema.
sys
Contains the Linux™ kernel, firmware, and system-related files.
tmp
Contiene archivos que son necesarios temporalmente. Algunos programas pueden usar este directorio para crear archivos de bloqueo y almacenar datos temporalmente.
usr
Contiene la mayor parte de los datos en el sistema, incluyendo los datos de usuario de sólo lectura, así como los archivos y programas, como los binarios de los programas, documentación, bibliotecas, archivos de cabecera, y mucho más.
/var/
Contiene datos variables, como los archivos de registro del sistema, los directorios de correo y de la impresora, así como los archivos temporales y transitorios.
vmlinuz
A symlink to a compressed executable of the Linux™ kernel.