Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: LINUX System Directories

  1. #1

    LINUX System Directories

    This is just a brief description of Linux Directories. Good for newbies.

    /bin/ — Used to store user commands. The directory /usr/bin/ also stores user commands.

    /sbin/ — Location of many system commands, such as shutdown. The directory /usr/sbin/ also contains many system commands.

    /root/ — The home directory of root, the superuser.

    /mnt/ — This directory typically contains the mount points for file systems mounted after the system is booted. For example, the default CD-ROM mount point is /mnt/cdrom/.

    /boot/ — Contains the kernel and other files used during system startup.

    /lost+found/ — Used by fsck to place orphaned files (files without names).

    /lib/ — Contains many library files used by programs in /bin/ and /sbin/. The directory /usr/lib/ contains more library files for user applications.

    /dev/ — Stores device files.

    /etc/ — Contains configuration files and directories.

    /var/ — For variable (or constantly changing) files, such as log files and the printer spool.

    /usr/ — Contains files and directories directly relating to users of the system, such as programs and supporting library files.

    /proc/ — A virtual file system (not actually stored on the disk) that contains system information used by certain programs.

    /initrd/ — A directory that is used to mount the initrd.img image file and load needed device modules during bootup.

    Note:
    Do not delete the /initrd/ directory. You will be unable to boot your computer if you delete the directory and then reboot your Linux system.

    /tmp/ — The temporary directory for users and programs. /tmp/ allows all users on a system read and write access.

    /home/ — Default location of user home directories.

    /opt/ — Directory where optional files and programs are stored. This directory is used mainly by third-party developers for easy installation and uninstallation of their software packages.


    -------------------------------------------------------------------------------------
    The joy of intimacy is the reward of commitment

    arman`

  2. #2

    LINUX System Directories

    Nice guide!

    Also note that not all distros use all these directories or for the same purposes. Most distros use the FHS standard though and most should be similar.
    To err is human, to moo bovine.

  3. #3
    Associate
    Join Date
    Sep 2004
    Posts
    40

    LINUX System Directories

    Note: the /tmp directory has the sticky bit set. It means that an user cannot delete files created by other users.

  4. #4

    LINUX System Directories

    nice info
    Registered Linux User # 279330

  5. #5

    LINUX System Directories

    keep em coming how about one for the files that you find in those directories

  6. #6
    Associate
    Join Date
    Sep 2004
    Posts
    40

    LINUX System Directories

    As first step you cant just try
    $ man <fliename>

  7. #7

    LINUX System Directories

    $ ls -alF

  8. #8
    Associate
    Join Date
    Dec 2004
    Posts
    12

    LINUX System Directories

    there are other directories not mentioned above, depends on your distro.
    theres /services, /package, command, /lib and many many more ... depende lang jud sa distro

  9. #9
    Associate
    Join Date
    Dec 2004
    Posts
    30

    new for 2.6 kernel

    /sys - kernel stuff, think of it as similar to the proc filesystem. For non-developers, the only thing you should care about in this FS is the device tree (bus ids, pci maps etc.).
    Ce-GNU-LUG

  10. #10

    LINUX System Directories

    M@rvin: there are other directories not mentioned above, depends on your distro.
    theres /services, /package, command, /lib and many many more ... depende lang jud sa distro
    waaaa.... bol-anon ka do? naa man guy "jud" sa quote... heheh..

Similar Threads

  1. is Linux even worth it on my system?
    By s134k in forum Linux - General Topics
    Replies: 13
    Last Post: 12-28-2006, 02:39 AM
  2. how to get the process info from a linux system
    By abul_tce in forum Linux - Hardware, Networking & Security
    Replies: 1
    Last Post: 01-20-2005, 01:26 AM
  3. Dual Linux system how to?
    By Rastar in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 10-03-2002, 01:56 AM
  4. Me linux system
    By jman_77 in forum Mandriva
    Replies: 11
    Last Post: 08-14-2001, 06:29 AM

Bookmarks

Posting Permissions

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