Flux rss
Bookmark Bookmark & Share
Linux - L'arborescenza dei file Linux - a arborescência dos ficheiros Linux - Datenbaum Linux - L'arborescence des fichiers Linux - Estructura de árbol de los archivos

File hierarchy under Linux

To ensury compatibility and portability, Linux systems comply with the sole FHS (File Hierarchy Standard) standard. The basic hierarchy is as follows:

/the root, containing the main directories
/bincontains essential executables of the system, used by all the users (such as, for example, the commands ls, rm, cp, chmod, mount, etc.)
/bootcontains the files which allow Linux to start up
/devcontains the entry points for the peripherals
/etccontains the commands and the files that are necessary for the system administrator (files passwd, group, inittab, ld.so.conf, lilo.conf, etc.)
/etc/X11contains the specific files for the configuration of X (contains XF86Config, for example)
/etc/optcontains the specific configuration files for the applications installed in /opt
/homepersonal user directory
/libcontains shared libraries that are essential for the system during startup
/mntcontains mount points of temporary partions (CD-Rom, floppy disk, etc.)
/optcontains packages of supplementary applications
/rootdirectory of the root administrator
/sbincontains the essential binary systems (for example the command adduser)
/tmpcontains temporary files
/usrSecondary hierarchy
/usr/X11R6this directory is reserved for the system X version 11 release 6
/usr/X386used before by X version 5, this is a symbolic link with /usr/X11R6
/usr/bincontains the majority of the binary files and user commands
/usr/includecontains the header files for the programs C and C++
/usr/libcontains most shared libraries of the system
/usr/localcontains data pertaining to the programs installed on the local machine by the root
/usr/local/binbinaries of local programs
/usr/local/gamesbinaries of local games
/usr/local/includelocal C et C++ header files
/usr/local/libShared local libraries
/usr/local/sbinLocal system binaries
/usr/local/shareIndependent hierarchy
/usr/local/srcLocal source files
/usr/sbincontains the binary files that are not essential for the system that are reserved for the system administrator
/usr/sharereserved for non-dependent data of the architecture
/usr/srccontains code source files
/varcontains variable data


Last update on Thursday October 16, 2008 02:43:15 PM.This document entitled « Linux - Tree structure of files » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.
[Linux]Cutting a file into several parts [Linux]Cutting a file into several parts Linux is full of utility tools allowing you to manipulate files. There is a very handy tool to split a file into several parts (for example to carry data on low capacity media). The split... en.kioskea.net/faq/sujet-785-linux-cutting-a-file-into-several-parts
UNIX - Files Introduction to UNIX files In UNIX systems any element is represented in the form of a file. All files are architectured around a single tree structure where the base, called the root, is written "/". File types UNIX systems define different... en.kioskea.net/contents/unix/unix-fichiers.php3
Hiding a file or directory under Linux Hiding a file or directory under Linux To hide a file or directory in Linux, just have its name be preceded by a period (.). For example: . bash_history . bash_profile . ssh Note that by doing so you are not really hiding the... en.kioskea.net/faq/sujet-812-hiding-a-file-or-directory-under-linux
Hiding files and documents on LinuxHiding files and documents on Linux To hide a file or directory in Linux, just to preface its name from a period (.). For example: .bash_history .bash_profile .ssh Note that doing this you do not really hide the files... en.kioskea.net/faq/sujet-2318-hiding-files-and-documents-on-linux
Restoring Linux using tarBackup of linux Important Backup Remarks Restoring Conclusion The principle is to make a single archive containing all files on the hard disk to make a backup. Under Linux, it is possible to access all the files and modify them... en.kioskea.net/faq/sujet-2072-restoring-linux-using-tar
The logical structure of a hard diskThe logical structure of a hard disk Introduction Logical Structure Sources Introduction When you use your computer, your data is organized in the form of files and directories, according to a tree structure and these are stored... en.kioskea.net/faq/sujet-1573-the-logical-structure-of-a-hard-disk
I need to remove remote machine fileHello, i need to remove remote linux server file from my local unix server.now i write unix shell script in unix server A and remove files from linux server B. thanks in advance. Jack en.kioskea.net/forum/affich-44303-i-need-to-remove-remote-machine-file
List new files in Unix/LinuxHello, I would like to know if there is a command to list recursively all the files in a directory updated after certain date. Thanks very much for your help. Cheers en.kioskea.net/forum/affich-38411-list-new-files-in-unix-linux
Wrinting a script to move filesHello, I need to write a script that will search a directory and its subfolders for *.txt files and *.tiff files, each .txt file having a corresponding .tiff file, the files will be located in different folders within the directory which will be... en.kioskea.net/forum/affich-26659-wrinting-a-script-to-move-files
Download FileZilla ClientPossibilty to download a version compatible with Linux or MacOS FileZilla Client is a fast and reliable cross-platform FTP, FTPS and SFTP client with lots of useful features and an intuitive interface. Features : Easy to use ... en.kioskea.net/telecharger/telecharger-115-filezilla-client
Download Multiple File Search and ReplaceMultiple File Search and Replace is an application that lets you find and replace files or its contents. It is then possible to quickly search many files, and add text or links in many Web pages for example. Indeed, the software is designed for... en.kioskea.net/telecharger/telecharger-1966-multiple-file-search-and-replace
Download HFS (Http File Server)HFS is a ultra-simple way to share files with friends. · Launch HFS · Slide above it the file to be shared. And that’s all ! The directory is accessible from any browser. It is ultra-simple and no installation is necessary (HFS is only... en.kioskea.net/telecharger/telecharger-1703-hfs-http-file-server
Trene Micro, Inc. Trend Internet Security Pro 2009 2 Year License (PC CD)Inc ., Whether you are at home or on the go Trend Micro PC-cillinInternet Security Pro 2009 safeguards your online transactionsidentity and irreplaceable files with the most comprehensiveprotection available. Get all the benefits of our proven... en.kioskea.net/guide/591565108-trene-micro-inc-trend-internet-security-pro-2009-2-year-license-pc-cd
Trend Micro Internet Security PRO 2009 - Complete package + 1 Year Maintenance - 3 users - DVD - WinWhether you are at home or on the go, Trend Micro PC-cillin Internet Security Pro 2009 safeguards your online transactions, identity, and irreplaceable files with the most comprehensive protection available. Get all the benefits of Trend Micro's... en.kioskea.net/guide/656590975-trend-micro-internet-security-pro-2009-complete-package-1-year-maintenance-3-users-dvd-win-english
Linux - User managementFirst step for the administrator When several people have access to a system, the administrator must manage the users. To do so, he must know the common commands and files to be configured. The important files are: the /etc/passwd file the... en.kioskea.net/contents/unix/unix-users.php3
Linux commandsTable of main Linux commands Command Description DOS equivalent ls lists the content of a directory dir cd change directory cd cd .. parent directory cd.. mkdir creates a new... en.kioskea.net/contents/linux/lincomm.php3
The NTFS file systemThe NTFS file system The NTFS file system (New Technology File System) is based on a structure called the "master file table" or MFT, which is able to hold detailed information on files. This system allows the use of long names, but, unlike the... en.kioskea.net/contents/repar/ntfs.php3