I thought it was simpler in Linux, NOT!
it's a bit puzzling to me
in the base folder / which I thought was the root because you cant go any lower but in that folder along with Boot, etc, dev, there is a folder called root
so what folder is the root in called?
also there is a bin folder but if you open the usr folder there is also another bin inside that and if you look in the local folder within the usr folder there is another Bin! why so many bins
is there a tutorial or explanation of it that is easy to follow?
Is there a simple explanation of the folder structure?
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Is there a simple explanation of the folder structure?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
- Level 4
- Posts: 203
- Joined: Mon Jan 23, 2012 6:28 pm
Re: Is there a simple explanation of the folder structure?
The FHS data will show you the process, but essentially you have a misunderstanding of the structure
http://www.linfo.org/root_filesystem.html
If you were to CD (Change Directory) to root or boot, and then did a pwd (print/display working directory) command in a terminal; which is an option from the menus on your taskbar (nee system tray), or from the file manger in one of its menus (Open a terminal here)
--you would see that root or boot is really
/root
/boot
--you can demonstrate that to yourself by doing, again inside a terminal screen
However if you read through the FHS already given in posts, you will be well on your way to understanding a Linux file structure
--this is similar to windows: it also has a file structure and its root directory (folder) is c:\
http://www.linfo.org/root_filesystem.html
- The exact contents of the root filesystem will vary according to the computer, but they will include the files that are necessary for booting the system and for bringing it up to such a state that the other filesystems can be mounted as well as tools for fixing a broken system and for recovering lost files from backups. The contents will include the root directory together with a minimal set of subdirectories and files including /boot, /dev, /etc, /bin, /sbin and sometimes /tmp (for temporary files).
If you were to CD (Change Directory) to root or boot, and then did a pwd (print/display working directory) command in a terminal; which is an option from the menus on your taskbar (nee system tray), or from the file manger in one of its menus (Open a terminal here)
--you would see that root or boot is really
/root
/boot
--you can demonstrate that to yourself by doing, again inside a terminal screen
Code: Select all
ls - l /
--this is similar to windows: it also has a file structure and its root directory (folder) is c:\
- Using a backslash instead of a forward slash for directory locations
--but most msdos/windows OS commands inside a terminal/shell are equivalent to UNIX/Linux commands
Re: Is there a simple explanation of the folder structure?
There is a tree diagram of the Linux file hierarchy here
http://www.techdrivein.com/2011/12/2-in ... s-you.html
This may help clarify file and folder placements.
http://www.techdrivein.com/2011/12/2-in ... s-you.html
This may help clarify file and folder placements.