![]() When a system administrator creates a user account on the Linux system, it is a good practice to create a home directory for that user. As a Linux user, you can put all your files, programs, notes, etc., in this home directory. This directory holds user-specific configuration files and other user data. In the Linux directory structure, each user gets a home directory, which is the user's directory. If the admin wants to configure the system in any way (for example: changing the hostname) they would have to work with config files located in this directory. The system administrator & various other internal core services like the networking or password files use configuration files from here. etc - Configuration FilesĪll the system's core configuration file resides in this directory. For partitioning it, you have to use a partition editor to edit `/dev/SDA. It means they do not reside physically on the drive. The /dev directory is another Linux directory location that contains device files such as dev/sda1, dev/sda2, etc. However, the standard Linux directory structure has the /media directory to show temporary media files. When users insert the CD into the CD-ROM, this temporary folder appears to show the files and other directories within the CD. But some well-known operating systems like Ubuntu have this directory. This directory is not a part of the standard Linux directory structure. cdrom - Historical Mount Point for CD-ROMs For example, the GRUB bootloader & LILO, with some other booting files associated with the boot image and Linux kernel, reside in this directory. Linux directory structure also contains the boot directory (/boot) that holds specific files required for the system booting. boot - Static Boot Filesīooting is an essential process that involves various hardware and operating system files to start the computer and load the operating system into working mode. The /bin directory ensures that no files within it are mounted because it contains numerous system administration binaries. All the essential system files & utility programs like the bash shell lives in the /bin directory. Other applications like Firefox and Chrome reside in the /usr/bin, which is not the same as the /bin directory. The operating system leverages these binary files for system-related operations. Since these executable programs remain in binary format, they reside in this directory. In other words, it holds the executable files of numerous basic shell commands like cp, ls, cd, and other such commands. The /bin is another popular directory that contains necessary user binaries. You can read the directory structure as root -> home -> user -> documents. Let us consider that you have a folder of documents then, the Linux directory will look like /home/user/documents. In other words, the / is the starting point in the Linux directory structure. Also, note that the /root is the user's home directory & is not the same as /. Only the root users get the privilege to write or change the directory structure. It is the only Linux directory under which all other files and directories reside. ![]() We can read the '/' as the root directory. Without further ado, let's jump into the various Linux directory structures. Hence, if you understand this directory structure, you can navigate better on Linux systems. Operating systems like BSD and macOS also use a similar directory structure. Linux runs on the structure of the UNIX operating system. This article will take a detailed tour of the Linux directory structure, directory hierarchies, & what file type gets stored in which directory. Those who have used Windows operating systems and are not familiar with Linux directory structure need to know how the directory hierarchy goes. Linus Torvalds created this kernel & operating system on September 17, 1991. The kernel is the core of the operating system. Linux is a popular operating system that runs on top of the Linux kernel. This article will discuss the Linux directory structure, its hierarchies, & what file type gets stored in which directory. Also, the directory conventions might seem confusing. When someone switches from Windows to Linux systems, they might miss the C drive & D drive because Linux does not have any letter drive. So, often Windows users face the challenge while navigating the directories in Linux operating systems. Linux is a popular operating system that does not have the same directory structure as that Windows.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |