• Home
  • Ubuntu
  • Debian
  • Linux
  • Commands
No Result
View All Result
TECH DHEE
  • Home
  • Ubuntu
  • Debian
  • Linux
  • Commands
No Result
View All Result
TECH DHEE
No Result
View All Result
Home Linux

Linux File Hierarchy Structure

techdhee by techdhee
February 1, 2023
0 0
0

In Linux important aspect is the Linux File Hierarchy Structure. Everything in Linux is either a file or a directory. The Filesystem Hierarchy Standard (FSH) is the way that these files and directories are structured. More importantly, though is how they are structured. Looks intimidating at first glance but when you realize that there is a method to this madness, you will find it’s so much simpler because everything is organized in the proper place and you can find where you want go much easier.

Contents hide
1 Linux File Hierarchy Structure
1.1 Linux Directories
2 Conclusion

Linux File Hierarchy Structure

Linux Directories

Linux File Hierarchy Structure

 

– The root directory. This is where your directory structure starts. Everything is housed under the root directory.

  • /bin – Essential user command binaries used for general operations: Copy, show directory, etc. (ls, cp, and cat – we’ll get to these commands soon)
  • /boot – Static files of the boot loader. Files here are necessary for a Linux system to start (Kernel & GTUB information)
  • /dev – Where the device files are located
  • /etc – Configuration files for all programs. Things like an apache web server, users & groups on your system, or printer configuration. Think of this as a control panel for Windows users. We will edit these text files later (These files should remain static and text-based).
  • /home – Home directories for all the users to store personal files (i.e. /home/roman) –Windows equivalent of Documents & Settings.
  • /lib – Essential shared libraries and kernel modules
  • /media – Mount point for removable media
  • /mnt – Temporarily mounted file systems
  • /opt – Add on application software packages – (i.e. Program files for windows users)
  • /sbin – Essential system binaries
  • /tmp – Programs write their temporary files here.
  • /usr – Multi-user utilities & Applications. It contains application source codes, documentation, & config files they use. It’s the largest directory on the system.
  • /var – Variable data on a system. Data will change as the system is running (Log files, backups, cache, etc.)
  • /root – Home directory for root
  • /proc – Virtual directory containing process information (system memory, hardware configuration, devices mounted, etc.)

The directories that I would be most concerned about starting off are /etc, /home, /dev, /mnt. As your skills progress you’ll venture off into other areas, but I started out in /etc 95 percent of the time. There are directories that extend, but we’ll get those later.

Conclusion

So this is Linux File Hierarchy Structure, Everything in Linux is either a file or a directory. All Linux distros have the same file hierarchy structure.

If you have any questions, feel free to leave a comment.

Related Posts:

  • How to Create a File in Linux
  • Su Command in Linux
  • Nala – An Alternative To APT Package Manager
  • Install Nano Text Editor in Linux
  • Linux File Hierarchy Structure
  • Whoami command in Linux
ShareTweetSendShareSend
Next Post

How to Install Ubuntu 22.04 LTS

techdhee

techdhee

Related Posts

How to Install Arch Linux
Linux

How to Install Arch Linux [Step by Step Guide]

August 6, 2023
Terminal Emulators for Linux
Linux

Top 6 Terminal Emulators for Linux

August 5, 2023
Install Nano Text Editor in Linux
Commands

How to Install Nano Text Editor in Linux

February 24, 2023
Commands

Whoami command in Linux

February 23, 2023
Commands

PWD Command in Linux (Current Working Directory)

February 16, 2023
Commands

Su Command in Linux (Switch User)

February 9, 2023

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

You might also like

How-to-Check-Windows-10-is-Genuine-or-Not-Genuine

How to Check Windows 10 is Genuine or Not Genuine

August 6, 2023
How to Install Arch Linux

How to Install Arch Linux [Step by Step Guide]

August 6, 2023
Terminal Emulators for Linux

Top 6 Terminal Emulators for Linux

August 5, 2023
How to Install Tor Browser in Kali Linux 2023.1

How to Install Tor Browser in Kali Linux 2023.1

April 2, 2023

How to install Tweak Tool on Ubuntu 22.04 LTS

March 3, 2023
Install Ngrok on Ubuntu 22.04 LTS

How to Install Ngrok on Ubuntu 22.04 LTS

March 2, 2023

© 2024 tecdhee.com - Tech Tips, Tricks and Tutorials.

  • Home
  • About Us
  • Contact
  • Disclaimer
  • Privacy Policy
No Result
View All Result
  • About Us
  • Contact
  • Disclaimer
  • Home
  • Privacy Policy

© 2024 tecdhee.com - Linux Tips, Tricks and Tutorials.

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In