Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using Linux from 6 months I want to learn how this OS actually keep its files. What is the files type and how they be arranged?

share|improve this question

closed as not a real question by Journeyman Geek, Kyle Jones, allquixotic, Canadian Luke, 8088 Dec 22 '12 at 0:28

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

I don't understand what you're asking. – Kyle Jones Dec 21 '12 at 23:18
Sir I want to know 1. what is the file structure in Linux . Means how the file is kept in memory . Suppose I saved a .txt file how the file will be saved what is the mode of the file ? – Subhankar Ghosal Dec 22 '12 at 9:54
Another part I wanted about the hierarchy of Linux file system which I got already. – Subhankar Ghosal Dec 22 '12 at 9:55

Linux File System explained here.

And here and here and some architectural point of view from IBM here.

If you like presentations you can review this one.

Discussion about diferences and similarities between linux file system.

The Filesystem Hierarchy Standard (FHS) defines the directory structure and directory contents in Linux operating systems. For the most part, it is a formalization and extension of the traditional BSD filesystem hierarchy.

Most important directories:

/bin - binaries/tools

/etc - configuration files

/usr - user read only data /usr/bin /usr/sbin - user tools

/home - user's directory

/root - admin directory

/sbin - executables for deamons and services

/tmp - directory where everyone has access

/proc - kernel and processes directory for virtual file system

/boot - boot loader config

/var - directory for files that often change

share|improve this answer
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. – Canadian Luke Dec 21 '12 at 23:38
You are absolutely rigth. Let me correct myself. – mnmnc Dec 21 '12 at 23:40
I am asking that how file is created and arranged in linux. That means suppose in C when I open a file I use a file structure . So in this operating system what is the structure of a file how that been kept in memory . – Subhankar Ghosal Dec 22 '12 at 9:46
Sir I am asking not about the directory hierarchy of linux but the what are the main attribute of a single file structure . Suppose I store a .txt file how will it be arranged in memory . What is the mode of the file . – Subhankar Ghosal Dec 22 '12 at 9:50

Not the answer you're looking for? Browse other questions tagged or ask your own question.