/usr Directories Flashcards

1
Q

What does /usr/bin contain?

A

Most of the executable commands on the system. There must be no subdirectores in /usr/bin

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does /usr stand for?

A

Unix System Resources

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does /usr/include contain?

A

General use include files for the C programming language.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What does /usr/lib contain?

A

Libraries for programming and packages. Applications may have a single subdirectory under /usr/lib. Sometimes includes binaries not intended to be executed directly by users or shell scripts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does /usr/libexec contain?

A

Optional. Includes binaries not intended to be executed directly by users or shell scripts

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What does /usr/local contain?

A

For use when installing software locally. Needs to be safe from being overwritten when system software is updated. Should have the following directories:

  • bin
  • etc
  • games
  • include
  • lib
  • man
  • sbin
  • share
  • src
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What does /usr/sbin contain?

A

Any non-essential binaries used exclusively by the system admin. Ultimately on most modern systems this is where /sbin is a symlink to.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does /usr/share contain?

A

Architecture independent data. This can be things like man pages, color management, word lists in dict, XML. If its not something that depends on the arch it can go in there.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does /usr/shource contain?

A

Optional. Source Code (for reference purposes.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly