Executable utility programs, compilers, editors etc. are stored in UNIX OS in…

2013

Executable utility programs, compilers, editors etc. are stored in UNIX OS in the system directory called

  1. A.

    dev

  2. B.

    etc

  3. C.

    bin

  4. D.

    Usr

Attempted by 8 students.

Show answer & explanation

Correct answer: C

Concept

In the UNIX/Linux filesystem hierarchy, every category of file lives under a purpose-named system directory. Ready-to-run programs - the compiled binary executables such as utility commands, compilers and editors - are kept together in the directory whose name stands for "binaries".

Applying it here

"Executable utility programs, compilers, editors" are all binary executable files. The directory dedicated to holding such command binaries is named bin (short for binaries). So the binaries directory is the place where these executables are stored.

Why the other directories do not fit

  • dev - holds device (special) files that represent hardware such as disks and terminals, not program executables.

  • etc - holds system configuration files and startup scripts, not the executables themselves.

  • usr - the user sub-hierarchy for user-level applications and shared data; the executables proper sit in the binaries directory (its bin sub-directory), so the bare user tree is not the precise place asked for.

Result

The directory that stores executable utility programs, compilers and editors is bin.

Explore the full course: Btsc Lab Assistant

Loading lesson…