Computer Science, asked by krishna384, 1 year ago

discuss the directory structure of the Linus operating system

Answers

Answered by ImArnav
0
Hey mate here's your answer

perm_identity

Linux File Hierarchy Structure

The Linux File Hierarchy Structure or the Filesystem Hierarchy Standard (FHS) defines the directory structure and directory contents in Unix-like operating systems.It is maintained by the Linux Foundation.

In the FHS, all files and directories appear under the root directory /, even if they are stored on different physical or virtual devices.

Some of these directories only exist on a particular system if certain subsystems, such as the X Window System, are installed.

Most of these directories exist in all UNIX operating systems and are generally used in much the same way; however, the descriptions here are those used specifically for the FHS, and are not considered authoritative for platforms other than Linux.


ImArnav: summary
ImArnav: i mean to summarise it
ImArnav: well now dont you have got your work and pls dont waste time at it
ImArnav: i will refer to other things
ImArnav: Gracias
Answered by abhayjha1
0
HEYA
HERE IS YOUR ANSWER

ITS LONG BECAUSE ITS IMPOSSIBLE TO WRITE IN SHORT TOO MANY TOPICS

Describing briefly the purpose of each directory, we are starting hierarchically.

/bin : All the executable binary programs (file) required during booting, repairing, files required to run into single-user-mode, and other important, basic commands viz., cat, du, df, tar, rpm, wc, history, etc.

/boot : Holds important files during boot-up process, including Linux Kernel.

/dev : Contains device files for all the hardware devices on the machine e.g., cdrom, cpu, etc

/etc : Contains Application’s configuration files, startup, shutdown, start, stop script for every individual program.

/home : Home directory of the users. Every time a new user is created, a directory in the name of user is created within home directory which contains other directories like Desktop, Downloads, Documents, etc.

/lib : The Lib directory contains kernel modules and shared library images required to boot the system and run commands in root file system.

/lost+found : This Directory is installed during installation of Linux, useful for recovering files which may be broken due to unexpected shut-down.

/media : Temporary mount directory is created for removable devices viz., media/cdrom.

/mnt : Temporary mount directory for mounting file system.

/opt : Optional is abbreviated as opt. Contains third party application software. Viz., Java, etc.

/proc : A virtual and pseudo file-system which contains information about running process with a particular Process-id aka pid.

/root : This is the home directory of root user and should never be confused with ‘/‘

/run : This directory is the only clean solution for early-runtime-dir problem.

/sbin : Contains binary executable programs, required by System Administrator, for Maintenance. Viz., iptables, fdisk, ifconfig, swapon, reboot, etc.

/srv : Service is abbreviated as ‘srv‘. This directory contains server specific and service related files.

/sys : Modern Linux distributions include a /sys directory as a virtual filesystem, which stores and allows modification of the devices connected to the system.

/tmp :System’s Temporary Directory, Accessible by users and root. Stores temporary files for user and system, till next boot.

/usr : Contains executable binaries, documentation, source code, libraries for second level program.

/var : Stands for variable. The contents of this file is expected to grow. This directory contains log, lock, spool, mail and temp files.

Similar questions