Ubuntu Unleashed 2019 Edition: Covering 18.04, 18.10, 19.04

(singke) #1
/lib Shared libraries,  kernel  modules

/lost+foundRecovered    files   (if found   after   a   file    system  check)

/media Mount    point   for removable   media,  such    as  DVDs    and floppy
disks

/mnt Usual  mount   point   for local,  remote  file    systems,    file
systems that are additional to the standard, such as a DVD-
ROM or another HDD

/opt Add-on software    packages

/proc Kernel    information,    process control

/root Super user    (root)  home

/sbin System    commands    (mostly root    only)

/srv Information    relating    to  services    that    run on  the system

/sys Real-time  information on  devices used    by  the kernel

/tmp Temporary  files

/usr Software   not essential   for system  operation,  such    as
applications

Knowing these directories can help you find files when you need them. This
knowledge can even help you partition hard drives when you install new
systems; you can choose to put certain directories on their own distinct
partition, which can be useful for things like isolating directories from one
another (for example, for server security you might put a directory like
/boot that doesn’t change often on its own partition and make it read-only
and unchangeable without specific operations being done by a super user
during a maintenance cycle). Desktop users probably don’t need to think
about such operations, but knowing the directory tree is still quite useful when
you want to find the configuration file for a specific program and set some
program options system-wide to affect all users.


NOTE
Free download pdf