Typical Unix Directory Structure Flashcards
Where does the Linux file system begin?
The root directory (“ / “)
What are the sub-directories of the root?
/bin , /etc, /sbin, /usr, /var, /dev, /home, /lib, /mnt, /opt, /proc, /root
What is the root directory (“ / “)?
The root is the logical beginning of the Linux file system and contains the entirety of your operating system.
/bin
contains most of your binary files, typically for the Linux terminal commands and core utilities such as cd, pwd, ls, and so on.
Where is firefox located?
/usr/bin
/boot
The directory where all the files needed to boot the system are kept
What directory do most people like to keep on its own separate partition?
/boot
/dev
The where all of your physical devices are mounted such as your hard disk, USB drive etc.
Where is your system hard drive mounted?
/dev/sda
Where can a USB thumb drive be mounted?
/dev/sde
/etc
The directory where configuration files are stored.
/home
The directory where all of your personal files are located such as The Desktop, Documents, Photos and Videos.
For non-root users
What is the default location that the terminal points to when you open a command-line terminal?
/home/username folder (Unless you have changed the default location)
/lib
The directory where the libraries are kept.
What are libraries?
Libraries are the files needed for your programs to work on Linux.