Linux Directory Structure Flashcards
Understand what should go into which directory
What should go in the /bin directory
Executable binary programs
What should go in the /etc directory
System configuration file
Where do we put the optional or third party software?
/opt
Where is temporary data stored?
/tmp, data is cleared on reboot in this folder
What should go in the /usr directory?
User related program
Where is variable data like logs stored?
/var
What goes into the /home directory?
Data related to the users of the system
What should go in the /media directory?
The removable media devices that are mount
Where are system libraries stored?
/lib
Is there a 64 bit version of /lib?
Yes, /lib64
Where do we place the shared file systems?
/export
What is the home directory of the root user?
/root
If we are going to mount an external file system, where should we mount it?
/mnt
What should go in the /sbin directory?
System administration binaries
What should go in the /srv directory?
Data which is served by the system, /srv/www is very common