" / " is the root Directory in Linux. " /root " will be the home directory for the root user (administrator). root will have the full administrative power over the system and other users. There are other directories like / home, /bin, /sbin, /lib etc. Each user will have there own home directory.
/ ---------> Root or the main directory
|---root ---------> Home directory for the root user
|---home ---------> User's home directories
| |----ftp ---------> Users services are listed here
| |----httpd
| |----samba
| |----user1
| |----user2
|---bin ---------> Commands needed during bootup and also needed by normal users
|---sbin ---------> Like bin but commands are not intended for normal users.
|---proc ---------> This file system is not on a disk. virtual directory.
| |
| |----n --------> A directory with info about process number n.
|
|---usr --------> Contains all commands, libraries, man pages etc for normal operation.
| |
| |----bin ---------> Almost all user commands.
| |----sbin ---------> System admin commands not needed in the root file system.
| |
| |----include ---------> Header files for the C programming language.
| |
| |----lib ---------> Unchanging data files for programs and subsystems
| |----local ---------> Locally installed software and other files.
| |----man ---------> Help pages
| |----info ----------> Info documents
| |----doc ---------> Documentation for various packages
| |----tmp
| |----X11R6 ---------> The X windows system files.
| |
| |----X386 ---------> Like X11R6 but for X11 release 5
|---boot ---------> Files used by the bootstrap loader, LILO. Kernel images stored.
|---lib ---------> Shared libraries needed by the programs on the root file system
| |----modules ---------> Loadable kernel modules.
|
|---dev ---------> Device files for devices such as disk drives, serial ports, etc.
|---etc ---------> Configuration files specific to the machine.
| |----skel ---------> For home directory creation.
| |----sysconfig ---------> Files that configure the linux system for networking etc.
|---var ---------> Contains files that change for mail, news, temp files, etc
| |----file
| |----lib ---------> Files that change while the system is running normally
| |----local ---------> Variable data for programs installed in /usr/local.
| |----lock ---------> Lock files. Used by a program.
| |----log ---------> Log files from programs such as login and syslog etc.
| |
| |----run ---------> Files that contain information about the system.
| |
| |----spool ---------> Directories for mail, printer spools, news and other spooled work.
| |----tmp ---------> Temporary files that are needed to exist for longer time.
| |
|---mnt ---------> Mount points for temporary mounts by the system administrator.
|---tmp ---------> Temporary files. Programs running after bootup should use /var/tmp.
- Board index
- Search
-
- It is currently Sun Apr 28, 2024 8:29 am
- All times are UTC+05:30
Linux Directory Structure
Linux OS Topics
Jump to
- Programmable Electronics
- ↳ Arduino
- ↳ Raspberry Pi
- ↳ Microcontrollers
- ↳ FPGA
- ↳ Digital Signal Processors
- ↳ Other
- Programming
- ↳ Web programming
- ↳ PHP & MySQL
- ↳ ASP & ASP.Net
- ↳ .Net & Other Programming
- ↳ .NET Programming
- ↳ Visual Basic Programming
- ↳ Java Programming
- ↳ C/C++ Programming
- Engineering
- ↳ Electronics & Electrical Engineering
- ↳ Embedded Systems
- ↳ Computer Science
- ↳ Software Engineering
- ↳ Data Structures & Algorithms
- ↳ Programming Languages & Compiler Theory
- ↳ Operating Systems
- ↳ Cryptography
- ↳ Computer Networks
- ↳ SQL & Database
- ↳ Computer Architecture
- ↳ Graphics & Vision
- ↳ Artificial Intelligence
- ↳ Neural Networks
- ↳ Multimedia
- ↳ Mathematics
- ↳ Other
- ↳ Control Systems & Robotics
- ↳ Mechanical
- ↳ Thermodynamics
- ↳ Fluid Dynamics
- ↳ Aerodynamics
- ↳ Manufacturing
- ↳ Energy
- ↳ Dynamics
- ↳ Statics
- ↳ Automobile
- ↳ Other
- ↳ Other
- Operating Systems
- ↳ Windows
- ↳ Linux
- ↳ Mac OS
- ↳ Android
- ????? ????
- ↳ ???????? ?????
- ↳ ??????? ???? ?????
- ↳ ????? ?????? ???? (Buy Guide)
- ↳ ??????? ???? ??????? (Where to buy)
- ↳ ????????? ???????? (Recommend - Complain - Review)
- General
- ↳ News & Announcements
- ↳ General Discussions
- ↳ Viruses, Trojans, Spyware and Adware
- ↳ Computer & Network Security
- ↳ Web Related
- Members Zone
- ↳ Project Assistance
- ↳ Advertising
- ↳ Jobs & Investment Opportunities
- ↳ Introductions
- ↳ Presents & Donations
- ↳ Entertainment
- ↳ Music & Albums
- ↳ Movies
- ↳ Games