0

I have a few questions. Some things are bothering me, and maybe if I can understand why they are a certain way, I can rest my mind a bit.

In Windows, about 95% of folder and file names make sense. They clearly describe their purpose.

On linux, the official User Manual, states the following:

  1. /bin and /sbin: Stores many essential system applications
  2. /etc: Stores System-wide configuration files.

My question is, Why are folder names so silly / stupid / weird / unrelated to their purpose?

Why would "essential system applications" be placed in a folder named after a thing that is used to hold unwanted things? (bin)

Why would "system-wide configuration files" be stored in a folder called "etc"?

Braiam
  • 69,112
jay_t55
  • 403

3 Answers3

14
  1. /bin stands for binaries, /sbin stands for system binaries
  2. etc stands for etcetera (this directory historically held everything that did not belong elsewhere)

You can read more here and here; and on Wikipedia.

Kodin
  • 487
5

Most of the directory names are not unrelated, but simply too short to be comprehensible without further knowledge. But this is not just a Linux issue. Other Unix-like systems as Apple's OS X for example or Solaris use the same weird names. And since you mentioned Windows... You just have to dig deeper. For example the hosts file for windows has this weird path:

C:\WINDOWS\system32\drivers\etc\hosts

There you have your unrelated "etc" again ;-)

For a quick overview over the role of the different Linux directory names take a look to this Wikipedia article http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard

JepZ
  • 213
3

bin first of all means binary, and despite it is also the different word bin nobody associated it to any bin but binary. It was always clean in the context of Unix. Also they were needed to use really shorts, preferably three-lettered words, when they were always typing a lot. As a compliance it is still there.