LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   why so many folders named bin, share, usr, lib (https://www.linuxquestions.org/questions/linux-newbie-8/why-so-many-folders-named-bin-share-usr-lib-4175554019/)

green ice 09-20-2015 05:09 PM

why so many folders named bin, share, usr, lib
 
I am using LM 17.2.

I go to file system on the left pane, and see bin, usr, etc, lib

I go to bin in that folder and see usr, lib, share inside bin.

If I open that usr and find bin, lib, share again.

Do these folders have separate functions specific only to the folders that contain them. Wouldn't it be better to name them more specifically?

Linux can be like Alice in Wonderland where you are endlessly clicking on the same folder names.

Keith Hedger 09-20-2015 08:54 PM

this is not normal looks lije you have a symlink from /bin back to / this is wrong and is probably from a bad/corruot install, check what you have installed and remove the symlink if its not needed, it probably wont be

frankbell 09-20-2015 09:18 PM

This link explains the Linux Mint directory structure. Perhaps it will help.

When I first started using Linux, I found the directory structure confusing, but, now that I'm used to it, I think the directory structure is far more logical than that of Windows. Similar types of files go into similar locations based on their function.

John VV 09-20-2015 09:31 PM

it is like
why does C:\\WINDOWS\system32 have so many files ?
or
why is "everything" installed to C:\\Program Files ?????????

linux is NOT windows

displace 09-20-2015 11:25 PM

Quote:

Originally Posted by John VV (Post 5423235)
linux is NOT windows

^^ This.

Linux is installed all over your disk, there is no such folder as C:\Linux as it is an equivalent in windows.

Head_on_a_Stick 09-21-2015 04:33 AM

Read:
Code:

man hier
You may want to look at Arch -- /bin, /sbin, /lib, et al are all symlinked to /usr/bin & /usr/lib

KISS :)


All times are GMT -5. The time now is 02:07 AM.