Have you wondered why certain programs are located under /bin, or /sbin, or /usr/bin, or /usr/sbin? Show
For example, less command is located under /usr/bin directory. Why not /bin, or /sbin, or /usr/sbin? What is the different between all these directories? In this article, let us review the Linux filesystem structures and understand the meaning of individual high-level directories. 1. / – Root
2. /bin – User Binaries
3. /sbin – System Binaries
4. /etc – Configuration Files
5. /dev – Device Files
6. /proc – Process Information
7. /var – Variable Files
8. /tmp – Temporary Files
9. /usr – User Programs
10. /home – Home Directories
11. /boot – Boot Loader Files
12. /lib – System Libraries
13. /opt – Optional add-on Applications
14. /mnt – Mount Directory
15. /media – Removable Media Devices
16. /srv – Service Data
If you enjoyed this article, you might also like..
Which of the following Linux commands is used to display the current location of the user within the Linux directory structure?The answer is the pwd command, which stands for print working directory. The word print in print working directory means “print to the screen,” not “send to printer.” The pwd command displays the full, absolute path of the current, or working, directory.
Which subdirectory holds executable files which any user can execute?The /sbin Directory
/sbin is a standard subdirectory of the root directory in Linux and other Unix-like operating systems that contains executable (i.e., ready to run) programs.
Which directory contains shared libraries and binaries for general program and software packages?The '/lib' directory contains shared libraries which are often used by the '/bin' and '/sbin' directories.
Which Facebook protection practice enables you to friend work associates with whom you feel uncomfortable sharing personal information?Which Facebook protection practice enables you to "friend" work associates with whom you feel uncomfortable sharing personal information? Show "limited friends" a cutdown version of your profile.
|