Linux Directory Structure
Hi to all ;
I want to clear few things about LINUX Directory Structure .. Already i googled well and analyzed lot of links. Little , little different were there. I have only few topics to understand >> /bin, vs /usr/bin ( User Binaries ) >> /bin : example comands /usr/bin : example commands >> /usr vs /usr/local >> I need some info about this. Note:- PHP Code:
|
the /usr location is historically for "higher level" applications, things that aren't require for the core guts of the system. /usr was always a separate, and MUCH larger filesystem which was loaded as part of the boot process, so binaries required as part of the bot couldn't be in there. Things are evolving somewhat in Linux land though, and some distros, like fedora, are totally scrapping /usr/bin and equivalent locations, promoting a simpler layout overall.
|
All is documented here
http://refspecs.linuxfoundation.org/FHS_2.3/ This is the official specification and goes in details to answer all questions you can possibly have. As for /usr/local, it is similar to /opt, but with a "standard" prefix structure. Aka, install applications that are not managed by your package manager there if they follow standard directory structure. For example, if you want to install 'tree', you should install it in /usr/local, as doing it in /usr will potentially conflict with files managed by your package manager like rpm/yum. |
@ Hi Elv;
I red it but i need tmp file details http://refspecs.linuxfoundation.org/...3/fhs-2.3.html This link did n't answer my question... >> tmp vs /var/tmp >> Quote:
here is my confusion Quote:
|
Quote:
Quote:
Quote:
*Also please use VBB quote tags to quote what others said and not your own current reply. |
All times are GMT -5. The time now is 01:18 AM. |