Which directories are the default location for executable files?A. etc and varB. bin and sbinC. home and etcD. root and dev
Question
Which directories are the default location for executable files?A. etc and varB. bin and sbinC. home and etcD. root and dev
Solution 1
No answer
Solution 2
The default directories for executable files in a Unix-like operating system are typically /bin and /sbin. So, the correct answer is B. bin and sbin.
Here's why:
-
/bin: This is the primary directory of executable commands on the system. This directory contains the essential binaries that all users (system administrators, programmers, and other users) need.
-
/sbin: This directory contains system binaries. It includes essential binaries that are generally intended to be run by the root user for system maintenance.
The other directories serve different purposes. For example, /etc contains configuration files, /var is for variable files, /home is for home directories of users, /root is the home directory of the root user, and /dev contains device files.
Similar Questions
Executable files such as ping, grep and cp are stored in which directory?1 point/etc/bin/root/sbin
Please choose an appropriate answer.The Linux filesystem uses what directory for executables for administrators and standard users alike?/sbin/bin/etc/home
Which directory is the top of the system's file-system hierarchy?A /etcB /C /home/rootD /root
In which of the following directory does the configuration files are present?0.5 Marks/usr/home/bin/etc
Which directory contains persistent, system-specific configuration data?A /etcB /rootC /runD /usr
Upgrade your grade with Knowee
Get personalized homework help. Review tough concepts in more detail, or go deeper into your topic by exploring other relevant questions.