Well, I'm sure of the purpose for most of the
main directories:
/root
/etc
/boot
/dev
/home
/lib
/proc
/mnt
Ok. Let me try to ask my question.
Some of these directories I don't understand, and I think I know why for most of them. It's probably because I'm always using my Linux machine for single-person use. I'm always alone. No one else logs in. So, if you can help me, pretend in your explanation that I'm in an office, with 30 users that login to the machine daily. I think that would help. The questions:
/bin - these are programs. Why arent the programs from /usr/bin in here? The only explanation I can think of is "the programs in /bin are only meant to be run by someone sitting at the computer being logged into". But, then what is the point of..
/sbin - why is this here? This is only to be used by root right? That kind of conflicts with what I just guessed.
/lib - I get /lib, but, I dont see why /usr/lib isn't part of /lib. Why separate them? I would think it would be easier to keep them together. Less places to add to ld.so.conf
/lost+found - what the hell is this?
/opt - I don't understand this at all really. I install all my programs here with a --prefix=/opt/xxx option, but, isnt /bin or /usr/bin the places programs are supposed to go? Why is /opt here? What is it's purpose?
/tmp - is this an automatic temp file directory like Windows? Or is this just a folder made by an install assuming I want to use a temp directory.
/usr - mostly questions listed below.
/usr/bin - I suppose this is the directory where I would have programs installed for all users to use? As opposed (maybe?) to /bin?
/usr/local - what the hell? Local? I don't understand this at all.
/usr/share - same as above.
/usr/src/linux - why would this be available to all users?
and last but not least..
/var - again..totally lost...
Thanks in advance for reading this far down! Any help you can give me would be great. I'm slowly putting Linux together in my brain, and this is a key step!