Understanding /usr Sub-Directories in Unix-Like Operating Systems

Explanation:

In the context of Unix and Unix-like operating systems, the /usr directory is a standard filesystem hierarchy which contains many important sub-directories that are used by the system and its users. Among the options provided, both Option 1: bin and Option 2: local are standard sub-directories within /usr.

bin: This directory contains user command binaries (programs) that are accessible to all users. These are non-essential for booting or repairing the system.

local: This is used for installing software locally to avoid overriding system binaries. It often contains additional user programs and data.

dev: is not a standard sub-directory of /usr. Rather, /dev is typically a separate directory at the root level of the filesystem which contains device nodes.

Therefore, Option 4: None of the above is incorrect since two of the options listed are indeed standard sub-directories within /usr.

← Design day projects challenge your engineering skills How to find an installed app in the setup →