Activity Stream
48,167 MEMBERS
6768 ONLINE
besthostingforums On YouTube Subscribe to our Newsletter besthostingforums On Twitter besthostingforums On Facebook besthostingforums On facebook groups

Results 1 to 5 of 5
  1.     
    #1
    Member
    Website's:
    Plutost.com OffshorePort.net Desi-Mobilez.com PhotoshopDesigner.co.uk TutsBy.me BabesWallpapers.net

    Question Linux File System Explained For Beginners

    Today i?m gonna give you some information about linux os.This file system is explained for begginers(like me).But it?s quite nice.So here we go:

    For those of you coming from windows backgrounds, the way the linux filesystem is laid out may seem confusing at first glance?. but that is where this article comes in !

    The first thing you should know when working with linux, is that everything is treated as either a file or directory. Yeap thats right, even hardware is considered a file by linux, and, speaking of hardware? all your hardware devices are located in the /dev directory, but more on that later.

    Another thing that confuses windows users, is the fact that linux dosen?t use drive letters to distinguish between different partitions and devices. that is to say in linux, the ?root? of your filesystem is / whereas in windows it would most probably be C:\ . Drives in linux are ?mounted? to directories where their data can then be accessed, so for instance, if you needed to use your thumbdrive, you would plug it into your computer, and then mount it using the ?mount? command, which specifies the path to the device ( something like /dev/sdb or /dev/sdc ) and the directory to mount it to (usually /mnt or /media), then you can happily access your drive from the /mnt or /media folder.

    Sounds strange right? well yes it does if you come from a windows environment, where the entire operating system is consolidated onto a single drive. However, with linux and the ability to mount devices as directories, it gives the end user much greater flexibility in splitting up their operating system over several drives or partitions.

    To understand what I mean when I say that this approach in mounting drives grants flexibility, I must first explain the different folders in linux and what they store



    The graphic above shows the linux filesystem hierarchy, now will explain in a bit more detail what each folder contains.

    / this is the root folder, all other folders come under root.. think of it as C:\ in a Windows context.

    /bin this folder contains all the user-essential binaries (programs) that are needed to administer and run your linux system? delete this folder and your system is broken.

    /boot as the name suggests, this folder contains configuration files and other necessary files that are needed by the bootloader

    /dev this folder contains device files (remember, these files represent physical devices, so be careful when working with them)

    /etc this folder contains all the configuration files used by the system, you can also start and stop services (daemons ) from here

    /home this folder contains the home folders of all the normal (non ? root ) users on the system .. think of it as my documents in windows

    /lib this folder contains software libraries

    /media this is a mount point for removable devices? this is where you would usually mount your thumbdrives ? etc

    /mnt this is a temporary mount point

    /opt this folder contains add on software (extra software)

    /sbin this folder contains binaries that can only be run as the root user (?superuser?)

    /tmp this folder contains temporary files that are erased upon reboot

    /usr this folder and its subfolders contains user installed programs and utilities and libraries

    /var this folder contains files that change alot (?Variable files?)

    /root this folder contians the root user?s files

    /proc this is a psuedo folder, that contains information about the linux kernel and hardware that is updated in realtime.

    Now back to how mounting grants flexibility?

    you see how the different folders all contain parts of the operating system? well we can actually mount a seperate hard drive for each of this folders. for example, your /home folder can be put on another harddrive than your / which means that you can easily recover your personal files if the harddrive on / fails because the harddrive mounted to your /home folder is seperate from the one that is mounted to your /

    So there you have it, you now know a little bit more about the nuts and bolts of linux based operating systems.
    Hope it can help you understanding Linux OS.

    Tutorial Credit goes to Sharma
    Plutost Reviewed by Plutost on . Linux File System Explained For Beginners Today i?m gonna give you some information about linux os.This file system is explained for begginers(like me).But it?s quite nice.So here we go: For those of you coming from windows backgrounds, the way the linux filesystem is laid out may seem confusing at first glance?. but that is where this article comes in ! The first thing you should know when working with linux, is that everything is treated as either a file or directory. Yeap thats right, even hardware is considered a file by Rating: 5
    Plutost.com Asia & Europe Hosting Provider / Offshore Shared/VPS Hosting / Even Better than Gold
    WHMCS License Verify (Catch those scam hosts)
    Tutorials By .Me

  2.   Sponsored Links

  3.     
    #2
    Member
    Website's:
    Doxsters.net
    Thanks, was quite handy to a noob like me

    Need a Designer/Web Developer? Click Me

    MSN: PM me for it.
    Email(Preferred):[email protected]

    "Power Corrupts. Absolute Power Corrupts Absolutely"

  4.     
    #3
    Banned
    Website's:
    SMSFreak.in Recharge.im DJGaurav.in
    Thanks A lot use ful if u have a deicated linux server

  5.     
    #4
    Member
    Website's:
    Plutost.com OffshorePort.net Desi-Mobilez.com PhotoshopDesigner.co.uk TutsBy.me BabesWallpapers.net
    Quote Originally Posted by timtamboy63 View Post
    Thanks, was quite handy to a noob like me
    Well I'm glad that it came useful

    Quote Originally Posted by DJGaurav View Post
    Thanks A lot use ful if u have a deicated linux server
    No even If you own a VPS, it can come handy
    Plutost.com Asia & Europe Hosting Provider / Offshore Shared/VPS Hosting / Even Better than Gold
    WHMCS License Verify (Catch those scam hosts)
    Tutorials By .Me

  6.     
    #5
    Member
    thanks, i'm beginner of linux system

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Twilight.ws - New Rating System Explained
    By Whoo in forum Forum and DDL Discussion
    Replies: 264
    Last Post: 1st Nov 2012, 09:07 AM
  2. File System Corrupt
    By David. in forum Webmaster Discussion
    Replies: 8
    Last Post: 9th Mar 2011, 10:18 PM
  3. Linux system info ( C)
    By desiboy in forum Web Development Area
    Replies: 6
    Last Post: 7th Dec 2010, 05:57 PM
  4. Get FULL System Info using Batch + Explained ;)
    By l0calh0st in forum Web Development Area
    Replies: 1
    Last Post: 2nd Oct 2010, 01:14 PM
  5. [php] Simulating file system URI's
    By litewarez in forum Web Development Area
    Replies: 0
    Last Post: 29th Jun 2010, 10:21 PM

Tags for this Thread

BE SOCIAL