LINUX FILE STRUCTURE EXPLAINED

Linux is made up of configuration files, if you want to change anything then you change these configuration files.

On Windows, you have C: drive and that is what we consider the root. On Linux we have / this is where we are going to find the important folders on our Linux system.


  • /bin - Short for binary, the bin folder is where our binaries that your system needs, executables and tools will mostly be found here.


  • /boot - All the files your system needs to boot up. How to boot up, and what drive to boot from.


  • /dev - You can find device information here, this is where you will find pointers to your disk drives sda will be your main OS disk.


  • /etc Likely the most important folder on your Linux system, this is where the majority of your configuration files are.


  • /home - this is where you will find your user folders and files. We have our vagrant user folder. This is where you will find your Documents and Desktop folders that we worked in for the commands section.


  • /lib - We mentioned that /bin is where our binaries and executables live, and /lib is where you will find the shared libraries for those.


  • /media - This is where we will find removable devices.


  • /mnt - This is a temporary mount point. We will cover more here in the next storage section.


  • /opt - Optional software packages. You will notice here that we have some vagrant and virtual box software stored here.


  • /proc - Kernel & process information, similar to /dev


  • /root - To gain access you will need to sudo into this folder. The home folder for root.


  • /run -Placeholder for application states.


  • /sbin - Sudo bin, similar to the bin folder but these tools are intended for elevated superuser privileges on the system.


  • /tmp - temporary files.


  • /usr - If we as a standard user have installed software packages it would generally be installed in the /usr/bin location.


  • /var - Our applications get installed in a bin folder. We need somewhere to store all of the log files this is /var

要查看或添加评论,请登录

Chandrakant Hatti的更多文章

  • ERROR HANDLING IN SOLIDITY

    ERROR HANDLING IN SOLIDITY

    In Solidity, both and statements are used to validate conditions and ensure certain requirements are met within a…

  • Solidity Program on the Concept of Variables

    Solidity Program on the Concept of Variables

    This guide will walk you through creating a Solidity smart contract that demonstrates different types of variables:…

  • Git: The Version Control

    Git: The Version Control

    What is Git? Git is an open-source version control system created by Linus Torvalds in 2005. Unlike centralized version…

  • Essential DevOps Tools: What to Use and When

    Essential DevOps Tools: What to Use and When

    In the fast-paced world of software development, the integration of development and operations (DevOps) has become a…

  • Introduction To Docker & Containerization

    Introduction To Docker & Containerization

    Docker is gaining popularity and its usage is spreading like wildfire. The reason for Docker’s growing popularity is…

  • Linux File Permissions

    Linux File Permissions

    When it comes to managing files and directories in Linux, file permissions and access control lists (ACLs) are…

  • Advanced Linux Commands for DevOps

    Advanced Linux Commands for DevOps

    System Info Commands - shows the name of the system host. - shows the host id of the system assigned by the OS.

  • LINUX COMMANDS FOR DEVOPS

    LINUX COMMANDS FOR DEVOPS

    1. ls - List Files and Directories: List the contents of a directory.

  • DevOps Introduction

    DevOps Introduction

    Why DevOps is Important? DevOps is important for several reasons: Speed: DevOps enables businesses to move at high…

    1 条评论

社区洞察

其他会员也浏览了