Connect with us

Hi, what are you looking for?

Linux

Various Linux File System and Directory Structure

History of Linux

In 1990, Linus Torvalds, a graduate student from University of Helsinky designed a UNIX like kernel on 386 Intel machine and gave this to Open Source Foundation (OSF).

  • Features of Linux
  • Open Source
  • Free software along with the source code and documentation.
  • Multitasking
  • Capable of running multiple applications and process at the same time.
  • Multi-user Portability
  • Can be installed on all hardware architecture.
  • Salability
  • Same operating system can be used on a desktop to a super computer.
  • Reliability
  • Large servers have been successfully being running without a single second of down time.
  • Security
  • Inbuilt firewall (lptables) and SELinux.

Linux File System Hierarchy Standard (FHS)

FHS

/(Slash)
  • This directory is called as the ‘root’ directory.
  • It is at the top of the the file system structure.
  • All other directories are placed under it.
/root
  • This is the default home directory of the root.
  • Note : In Linux / Unix the administrator is called as root.
/home
  • It contains the home directories of all users (similar to ‘Documents and Setting’ folder in Windows).
  • When any user logs in the current working directory by default is the user home directory.
/sbin
  • Sbin stands for system binary.
  • It contains essential system commands which can only be used by the superuser (root).
  • Example : fdisk, dump, etc.
/Boot
  • It contains the kernel, which is the core of the operating system.
  • It also contains the files related for booting the OS such as the Boot Loader.
/bin
  • Bin stands for binary
  • It contains essential commands which are used by all users.
  • Example : ping, cat , chmod, etc.
/usr
  • Usr stands for unix system resources.
  • It contains the programs and applications which are available for users (similar to program files in Windows).
/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 etcetera
  • Contains all the configuration files.
/opt
  • Opt stands for optional.
  • It generally contains the third party software’s.
  • Example : Open Office, Kaspersky Antivirus etc.
/media
  • It is the default mount point for removable storage media such as cdrom/dvd and pendrives, etc.

Congratulations now you have learned Linux FSH.

Comments
Advertisement
Advertisement
Advertisement

You May Also Like

Windows

How to auto upgrade JioFi firmware for JioFi 2 / JioFi 3 / JioFi 4 / JioFi 5 / JioFi 6 and other JioFi...

Windows

Internet is the most important public network for connecting to the WEB. For internet connection requirement the ISP is required as well as it...

Windows

How to download and install the Mobile Intel 4 Series Express Chipset Graphics Drivers for Windows 10.  Windows 10 is the one of the...

Windows

How to Install and Configure PCSX2 on Windows 10. The Windows 10 is the most recommended operating system for the Games. In stream platform...