While the Thunar file manager does a good job at abstracting the details of the underlying file system, so the user does not need to care about them, it is sometimes useful to understand the basic concepts to get the whole picture. This section tries to give a brief introduction to the concepts of the UNIX file system, which is used today by all incarnations of UNIX, including Linux.
Dans un système de fichier UNIX tous les dossiers sont arrangés dans une structure en forme d'arbre simple inversé descendant et héritant d'un dossier unique de plus haut niveau, appelé le répertoire racine (le terme répertoire est souvent utilisé à la place de dossier) et affiché comme Système de fichier dans Thunar. Ce qui signifie que vous pouvez aller de n'importe quel dossier vers n'importe quel autre en en remontant dans l'arbre jusqu'à un point commun, puis vous descendez à travers les sous-dossiers appropriés jusqu'à atteindre votre but.
The position of any file or folder in the tree can be described by its path. The path is the list of folders you would have to descend through to get to the target folder or file, starting from the top level folder. For example /home/luke
is the subfolder luke
of the subfolder home
of the top level folder, and /home/luke/myfile.txt
is the file myfile.txt
in that subfolder. The leading /
in these paths represents the top level folder.
Every user has their own folder to hold their personal files and settings. This folder is called the home directory and is displayed in Thunar as special icon with the users login name. The folder is similar to the My Files folder known from Windows. The home directories of the various users in a system are usually located below the /home
folder. For example /home/luke
would be the home directory of the user with the login name luke
, while /home/jane
would be the home directory for the user with the login name jane
.
You may have already heard that everything is a file in UNIX. This is true for most objects present in UNIX systems today. In fact even devices are represented as a special files. While this may not make sense at first sight, it is one of the strengths of UNIX and its derivates, and has helped it to maintain a simple core over the years where other operating systems had to introduce new concepts for every new technology.
Voici les quatre types les plus importants de fichiers dans le système de fichiers UNIX.
Un fichier ordinaire peut contenir un texte, un programme ou d'autres données. Ceci inclut les fichiers d'images, de sons, les documents office et les vidéos. Le terme fichier est souvent utilisé pour faire référence à un fichier ordinaire.
Les dossiers sont aussi des fichiers dans le système de fichier UNIX. Pour être exact le dossier est un fichier spécial, qui contient une carte des références aux noms de tous les fichiers à l'intérieur.
Un lien symbolique (souvent appelé un symlink) est un fichier spécial qui contient un chemin vers un autre fichier dans le système de fichier. Un fichier lien symbolique ne contient donc aucune information utile en lui-même, mais est juste une référence à un autre fichier.