Where is the OS directory?

Discussion in 'QnA (read only)' started by jnpandya, Aug 19, 2004.

Thread Status:
Not open for further replies.
  1. jnpandya

    jnpandya New Member

    Joined:
    Jun 10, 2004
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Gujarat
    In windows we have "Windows" as the operating system folder, where is that in Linux? If it's not a single directory, then which are the important folders?
     
  2. GNUrag

    GNUrag FooBar Guy

    Joined:
    Jun 22, 2004
    Messages:
    1,246
    Likes Received:
    5
    Trophy Points:
    0
    Location:
    Interwebs
    The GNU/Linux Operating system does not use a single folder as a dump ground Here is a list of various directories and their contents...
    /boot : the linux kernel and boot loader configuration files
    /usr : Program files
    /etc : Configuration files
    /var : Mail, print web spool files
    /tmp : temp directory
    /home : Home directories of various users
    /dev : Device files corresponding to various peripherals of your comp. (hard disk, printer, mouse, modem)
    /mnt : Devices mounted onto OS to increase storage space
    /lost+found : Orphan files are moved here
    /root : Root's home directory
    /proc : Process information pseudo filesystem.
    /bin : various console utilities and apps
    /sbin : system administration utilities
    /lib : Shared Library files for your operating system.

    Apart from these, you also have a swap partition that stores data swapped by the linux kernel.


    As you can see, /etc is roughly equivalent to your windows registry. /usr can be called as Program Files directory... /boot & /lib can be called as \Windows\System32 directory. Contents of /mnt can be thought of as various drives in windows.
     
  3. sUlPhUr|nE`

    sUlPhUr|nE` New Member

    Joined:
    Aug 10, 2004
    Messages:
    77
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Bangalore
    phew...neat reply. Learnt 50% of linux here :wink:
     
  4. cooljeba

    cooljeba The Photoshop Guy

    Joined:
    Jun 30, 2004
    Messages:
    606
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    On Your monitor!
    me 2 :D
    Thanks GNUrag
    ..:: peace ::..
    Jeba
     
  5. OP
    OP
    jnpandya

    jnpandya New Member

    Joined:
    Jun 10, 2004
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Gujarat
    Thanks a lot GNUrag!

    Actually yours was the fastest answer I have ever got on this forum! Check out the time of the both the posts. When I saw the it first, it was not this much elaborate though it was good enough to understand the structure of the OS. Then I think you might have updated it.

    Could not respond as quickly as you due to down internet link. But any way, thanks again for the details.
     
  6. GNUrag

    GNUrag FooBar Guy

    Joined:
    Jun 22, 2004
    Messages:
    1,246
    Likes Received:
    5
    Trophy Points:
    0
    Location:
    Interwebs
    Yeah... i'd written only answer for what u asked... but later i added info for other directories...

    Do you want to know more about Linux filesystems and its associated directories??? I'll add more...
     
  7. lywyre

    lywyre Active Member

    Joined:
    Aug 18, 2004
    Messages:
    1,217
    Likes Received:
    4
    Trophy Points:
    38
    Location:
    Chennai/Vellore, TN
    gr8 m8
     
  8. lywyre

    lywyre Active Member

    Joined:
    Aug 18, 2004
    Messages:
    1,217
    Likes Received:
    4
    Trophy Points:
    38
    Location:
    Chennai/Vellore, TN
    ----------
    gr8 m8


    --------------------------------------------------------------------------------------
     
  9. lavan_joy

    lavan_joy New Member

    Joined:
    Jan 3, 2004
    Messages:
    145
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    In your heart
    great post man.thanks for the information
     
Thread Status:
Not open for further replies.

Share This Page