Which of the following statements about /bin and /sbin directories in Linux is correct?
Note
The correct statement about the /bin and /sbin directories in Linux is: /bin contains essential user binaries, while /sbin holds system binaries.
Here's an explanation:
- /bin: This directory contains essential binary executables that are required by all users, such as basic commands like ls, cp, mv, etc.
- /sbin: This directory contains system binaries that are essential for system administration tasks, such as ifconfig, fdisk, iptables, etc. These binaries are typically used by the system administrator and require root (sudo) privileges to execute.