Understand the purpose of each folder, where files can be or where to place them according to your need.
- / – Root directory.
- /bin – Directory where are the executable files and essential system commands.
- /boot – Directory where are the files needed to start the system. This is where the Linux Kernel image is located.
- /dev – Directory where are the files of system devices, such as disks, cd-roms, terminals etc.
- /etc – Directory where the system configuration files are located.
- /home – Directory that is usually used by users.
- /lib – Directory where the essential system libraries used by /bin programs and Kernel modules are located.
- /lost+found – Directory that stores files retrieved after corruption.
- /media – Empty directory. It will contain subdirectories with reference to auto-mounted external storage devices by the system.
- /mnt – Empty directory. This directory is typically used for device mount points.
- /proc – Directory that has kernel and process information.
- /opt – Directory where installed applications that do not come with Linux are located.
- /root – Superusers(root) directory. In some distributions it may or may not be present.
- /run – Directory for temporary storage of files for running applications.
- /sbin – Directory where essential system files are, such as applications, utilities for system administration. Usually only the superuser (root) has access to the files.
- /srv – Directory for storage by service data system.
- /sys – Directory with system-specific files.
- /tmp – Temporary file directory.
- /usr – Directory of files belonging to users and the second largest hierarchy of directories in Linux.
- /var – Directory where variable information is stored to the system, such as log files etc…
Based on: https://www.ubuntudicas.com.br/2012/04/estrutura-de-diretorios-no-linux
Liked this content, have any suggestions or other questions? Leave a message.
Follow me on Twitter @danielsob
To you who are interested in conducting more interactive tutorials with content like this, respect the research and construction of content, there is time and knowledge committed to this. Remember to quote the source. Everybody gets on it.