kascecorporation.blogg.se

File folder structure diagram
File folder structure diagram









file folder structure diagram

Home directories for all users to store their personal files.

file folder structure diagram

#File folder structure diagram install

For example, when you install apache from source, it goes under /usr/local/apache2 /usr/local contains users programs that you install from source./usr/lib contains libraries for /usr/bin and /usr/sbin.For example: atd, cron, sshd, useradd, userdel If you can’t find a system binary under /sbin, look under /usr/sbin. /usr/sbin contains binary files for system administrators.If you can’t find a user binary under /bin, look under /usr/bin. /usr/bin contains binary files for user programs.Contains binaries, libraries, documentation, and source-code for second level programs.Files under this directory are deleted when system is rebooted.Directory that contains temporary files created by system and users.This includes - system log files (/var/log) packages and database files (/var/lib) emails (/var/mail) print queues (/var/spool) lock files (/var/lock) temp files needed across reboots (/var/tmp).Content of the files that are expected to grow can be found under this directory.This is a virtual filesystem with text information about system resources.For example: /proc/ directory contains information about the process with that particular pid. This is a pseudo filesystem contains information about running process.Contains information about system process.These include terminal devices, usb, or any device attached to the system.This also contains startup and shutdown shell scripts used to start/stop individual programs.

file folder structure diagram

  • Contains configuration files required by all programs.
  • For example: iptables, reboot, fdisk, ifconfig, swapon.
  • But, the linux commands located under this directory are used typically by system aministrator, for system maintenance purpose.
  • Just like /bin, /sbin also contains binary executables.
  • Commands used by all the users of the system are located here.
  • Common linux commands you need to use in single-user modes are located under this directory.
  • Please note that /root is root user’s home directory, which is not same as /.
  • Only root user has write privilege under this directory.
  • Every single file and directory starts from the root directory.
  • In this article, let us review the Linux filesystem structures and understand the meaning of individual high-level directories. Why not /bin, or /sbin, or /usr/sbin? What is the different between all these directories? Have you wondered why certain programs are located under /bin, or /sbin, or /usr/bin, or /usr/sbin?įor example, less command is located under /usr/bin directory.











    File folder structure diagram