I'm new to Linux, and I'm interested in learning the bowels of Linux. I want to learn how the contents of system files are structured like,
I want to open
.html files with sublimetext instead of chrome. So I opened
defaults.list with gedit and looked for lines with "html". I found things like:
text/html=sublime.desktop application/xhtml_xml=google-chrome.desktop application/xhtml+xml=firefox.desktop text/xml=firefox.desktop;google-chrome.desktop
Now, I could guess what it all means, but I want to read what, for example, the following means:
What do the item before and after the / mean (e.g. text/html)?
What does "text" refer to, and what does "html" refer to? In the previous case,
it is easy to see html just refers to the extension
.html, but what
about in the case of "xhtml+xml"? What does the "+" here do? Why not break
it into 2 lines? Finally, what does the semi-colon mean in
As I said, my question is on two levels.
What do these mean in this particular case?
In general, where can I find the documentation for how system files are structured? Let's say I also want to understand how /etc/network/interfaces works - where would I get an authoritative documentation of this file, other than random googling and reading from forums?