Find the answer to your Linux question:
Results 1 to 5 of 5
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2006
    Location
    Fort Collins, CO
    Posts
    9

    Linux Folder Structure


    Could someone point me to a location that explains the standard set of folders in Linux and their contents or what they're used for? Everything I find seems to be too detailed, I just want a high level view.

    Thanks.

  2. #2
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,732
    Hi, RyanSmith345

    Maybe one of these links will put it in better perspective:

    http://www.comptechdoc.org/os/linux/..._crfilest.html

    http://www.tuxfiles.org/linuxhelp/linuxdir.html
    oz

  3. #3
    Linux Engineer spencerf's Avatar
    Join Date
    Jan 2005
    Location
    Syracuse, NY
    Posts
    1,144
    anything you find on the net will probably be pretty detailed. And each distro does things slightly different but here are some basics:

    /usr/src ----linux kernel stuff
    /usr/bin -----binaries for programs you run (sort of like exe files in windows)
    /usr/local/bin ----more binaries but usually just for a specific user
    /dev ----everything under here is a device like harddrive, cdrom, usb stick, printer etc...
    /etc ----usually most of your configuration files for the whole system
    /usr/lib ----libraries that many programs depend upon to run
    /boot ----contains your saved kernel and GRUB which is a bootloader for linux
    /mnt ----this is the location of your devices that are mounted. This basically is telling the computer to show device. So you would mount /dev/cdrom /mnt/cdrom this would mount your cdrom to the location of /mnt/cdrom.
    /proc ---contains a lot of information about your system like memory, cpu, acpi, and lot's more.
    /var/log ---this is the location of "logs" useful when trying to figure out what went wrong when certain errors occur.
    /tmp ---just like it sounds this is the location for temporary files programs use.
    /home ----where your individual users are located. Sort of like a giant, more divisible version of "My Docurments" ---sort of.


    hope this helps a little.
    All right, brain. You don't like me and I don't like you, but let's just do this and I can get back to killing you with beer. All New Users Read This!!! If you have a grub problem please look at GRUB MANUAL

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jun 2006
    Location
    Fort Collins, CO
    Posts
    9
    Thanks, that was just the breakdown that I was looking for.

  6. #5
    Linux User Krendoshazin's Avatar
    Join Date
    Feb 2005
    Location
    London, England
    Posts
    471
    -->
    For a more detailed look at the file system, take a look at http://rute.2038bug.com/node38.html.gz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •