Linux Directory Structure (File System Structure) Explained

Linux Directory Structure (File System Structure) Explained with Details

A Linux directory is the same principle as a Windows folder, in that files can be   organised into different directories, and each directory can be organized into   various sub directories



/

This is referred  as the root directory. It's the baseline for the directory structure, which is important when navigating

from one directory tree to another.

/home

This is where the computer's users files are kept,  This the User’s home Directories. Each user gets their own named directory, and security permissions can be set so that users can view and edit, view only, or if required not even see the contents of other users' home directories.

/bin

Contains essential programs for the operating system in executable program or binary files

/boot

This directory contains the boot information for Linux, including the kernel.

/etc

The default configuration files for Linux applications are stored in this directory.

/dev

In Linux, devices are treated in the same way as files, so they can be read from and written to in the same way. So, when a device is attached, it will show up in this folder.

/lib

This directory contains shared libraries for use by applications running on Linux,

/lost+found

This is Linux's rescue directory, so that in the event of a crash or other serious event files are stashed here to enable recovery.

/mnt

In Linux  this is used to mount external disk . This includes floppy disks, hard drives, CD/DVD ROMs and USB card devices.

/proc

This "virtual" directory contains a lot of fluid data about the status of the kernel and its running environment.

/root

Rather than being part of the /home directory, the superuser (or root user)'s directory is placed here.

/sbin

This is where system administration software is stored. Unlike applications in the /bin folder, the root user is usually the only user who can run these.

/tmp

Applications store their temporary files in this directory.

/usr

This directory is where users' applications are stored, including the executable, and also sometimes the source code, along with any images and documentation.

/var

Similar to /proc, this directory contains data concerning the status of running application, including many log files.

This is worth knowing, because these can be viewed in the event of a system error to help in diagnosing the problem.
Linux Directory Structure (File System Structure) Explained Linux Directory Structure (File System Structure) Explained Reviewed by TecGeeks News on July 22, 2016 Rating: 5

No comments:

Get Your Business Online Now


Powered by Blogger.