linux file-system The Linux Environment MOC


The root of the file system is ”/”

Using an absolute path, like /home/corban goes relative to the root.

Normal Root Folders

  • bin::stores system executable files (binary)
  • boot::stores boot up process files
  • cdrom::maps to cdrom tray
  • dev::stores hardware component files
  • etc::stores configuration files for user programs
  • home::stores every user directory
  • lib::stores shared libraries and kernel modules
  • lost+found::stores ‘orphaned’ files from errors
  • media::accesses mounted file systems
  • mnt::also mounts file systems
  • opt::optionally stores user-installed programs
  • proc::stores every running process
  • root::stores root user home directory
  • run::stores temporary runtime information
  • sbin::stores binary executables for administration
  • srv::stores data from services
  • sys::stores devices information
  • tmp::temporary file system
  • usr::stores user-controlled files
  • var::stores system files that increase, like log files