Linux Basics

Linux File System Hierarchy

file system hierarchy
file system hierarchy

Linux File System Hierarchy

History of Linux: In 1990, Linus Torvalds, a graduated student from University of Helsinky designed a UNIX like Kernel on 386 Intel machine and gave this to Open Source Foundation (OSF). This post explains Linux File System Hierarchy.

Features of Linux

Open Source:

Free software along with the source code and documentation.

Multitasking:

Capable of running multiple applications and processes at the same time.

Multi-User:

Allows multiple users to login and use the resources at the same time.

Portability:

Linux can be installed on all hardware architecture.

Scalability:

Same Operating System can be used on a desktop and a super computer.

Reliability:

Large servers have been successfully being running without a single second of downtime.

Security:

Inbuilt Firewall (iptables).

File System Hierarchy

In Linux and Unix, the file system is also known as Distributed File System (DFS). The data is stored in separate locations according to the importance.

File System Hierarchy

/

This directory is known as “root” directory. It is the top of the file system structure. All other directories are placed under it.

/root

This is the default home directory of the root user. In Linux/Unix, the administrator is called as root.

/home

It contains the home directories of all users. When any user logs in the current working directory by default is the users home directory.

/boot

It contains the Kernel, which is the core operating system. It also contains the files related for booting the OS such as the boot loader.

/sbin

sbin stands for system binary. It contains essential system commands which can only be used by the super user ie., root.

/bin

bin stands for binary. It contains essential commands which are used by all users. Some example commands are ping, cat and chmod.

/usr

usr stands for Unix System Resources. It contains the programs and applications which are available for users.

/var

var stands for variable. It contains variable information, such as logs and print queues.

/dev

dev stands for device. It contains information about all hardware devices.

/etc

etc stands for et cetera. It contains all configuration files.

/opt

opt stands for optional. It generally contains the third party software’s.

/media

It is the default mount point for removable storage media such as cdrom/dvd and pen drives etc.

That’s it!

If you like the post and wish to receive more articles from us, please like our FB page: Grepitout

Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.

For more details on our services, please drop us an E-mail at info@grepitout.com

1 Comment

Click here to post a comment

Topics