Linux Part 04 Basic Command, Files & Folder
Linux Part 04 Basic Command, Files & Folder
for Beginner
Part 4 : Files & Directories
with Basic Command Line
Andre B. Kramadibrata
Linux Directory Structure (1 of 5)
• /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.
Linux Directory Structure (2 of 5)
• /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.
Linux Directory Structure (3 of 5)