View This Site In Your Own Language

Directory Basics of Linux




/ : Parent directory and is equivalent to C drive on Windows. It contains all files and folders.

Sub-directory:

ROOT : Equivalent to administrator of windows. It is root account's home directory

BOOT : Contains boot loader files

BIN & SBIN : Binary and Static binary directory. These stores all executable programs

  • BIN : contains essential command binaries
  • SBIN : contains essential system binaries                       
DEV : Contains device files

MEDIA : Comes removable devices under it

ETC : Contains configuration files. i.e. account information and hashed password

HOME : It is any user's home directory.

LIB : Contains common libraries used by the system

MNT : External memory comes under MNT directory. e.g. CD ROM, CD drive etc
  • Internal memory : RAM & ROM
  • External memory : Any external or temporary memory
PROC : Contains virtual file system and stores kernel information

TMP : Contains temporary data

USR : Contains user program and data

SRV : Contains service data

VAR : Contains files and folders where the system can write during operation


Directory Basics of Linux Directory Basics of Linux Reviewed by Ikram on 11/19/2019 07:06:00 PM Rating: 5

No comments:

Powered by Blogger.