Chap5 FHS Flashcards

1
Q

/bin

Examples?

A

Binaries and other executables programs. Text files are compiled into machine readable binary files. IE. cat, echo, mkdir, pwd

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

/etc

Examples?

A

System configuration files. How the operating system behaves. IE. group, fstab, resolv.conf

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

/usr

A

Multi-user related applications, libraries, and docs

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

/boot

A

Contains the 2 files required to boot Linux

  1. initramfs - The initial RAM Filesystem, which is mounted before the real root filesystem becomes available. (initrd.img-4.4.0-34-generic)
  2. vmlinuz (kernal) - vmlinuz-4.4.0-34-generic (ends in z then is compressed)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

/dev

A
  • Device nodes which represent devices built into or connected to the system. This includes character (byte-stream) and block I/O devices.
  • upon boot a virtual filesystem is created and mounted at /dev and then populated with device nodes as udev requires.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

/lib

Examples?

A

Libraries required by executable binaries in /bin and /sbin. IE.
Kernel Modules /lib/modules
PAM (Plugable Authentication Modules) /lib/security

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

/proc

A

Provides info about running processes. Empty on a non-running system. Also termed virtual files

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

/sbin

Examples?

A

System administration binaries IE. fdisk and init

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

/sys

A
  • sysfs pseudo-filesystem giving information about the system and processes running on it.
  • Can be used to alter parameters.
  • similar to a device tree and is part of the Unified Device Model
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Additional 2 files in the /boot directory

A

config The config file used when compiling the kernel, it is really here just for bookkeeping and reference when debugging.
System.map The kernel symbol table, which is very useful for debugging. It gives the hexadecimal addresses of all kernel symbols

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

/usr/bin

A

Command binaries that are deemed non-essential enough to merit a place in /bin go in /usr/bin. Programs required only by non-root users
are placed in this category

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

/etc/init.d

A

Contains start up and shut down scripts when using System V initialization

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

Shareable

A

data which can be shared between different hosts (home directories)

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

non-shareable

A

data which must be specific to a particular host (lock files)

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

Variable

A

data that may change even without a systems administrators help

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

static

A

data that does not change without system admistrators assistance (binaries, libraries, documentation)

17
Q

FHS

A

The Filesystem Hierarchy Standard, administered originally by the Free Standards Group and now by the Linux Foundation,

18
Q

/var

A

Variable data that changes during system operation