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.
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`
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.
Note: the /tmp directory has the sticky bit set. It means that an user cannot delete files created by other users.
nice info![]()
Registered Linux User # 279330
keep em cominghow about one for the files that you find in those directories
![]()
As first step you cant just try
$ man <fliename>
$ ls -alF
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![]()
/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
Bookmarks