Linux Filesystem Flashcards

1
Q

Root directory containing all other directories. Not to be confused with the /root home file.

A

/

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

Contains the majority of app binaries such as commands used by the base operating system (cat, ls, cd).

A

/user/bin

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

When installing new things it often places a link inside ___ that leads to where the application is installed rather than actually placing it there.

A

/bin

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

System binaries that are critical for the system to run. Should typically never be modified.

A

/sbin

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

Host-specific configuration files for everything from the base OS, to software packages that you install.

A

/etc

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

How would you find the SSH config file?

A

Can find the ssh config file with ls /etc/ssh/

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

All the hardware devices.
Can find LVM volumes on hard drives.
It also contains the remote teletype (tty) terminals and the kernel drivers.

A

/dev

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

Contains all user files that are not root user.

A

/home

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

Contains reusable code shared between apps, essential shared libraries, and kernel modules.

A

/lib
/lib64

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

What is a library?
What does it look like?

A

A library is code used by programs to provide functionality or code that can be reused or shared by multiple programs for a common purpose.

Libraries are .so files in Linux, .ddl in Windows

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

Where auto-mounted drives and removable media are placed

A

/media

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

Where temporarily mounted filesystems are placed

A

/mnt

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

Typically used only on desktop Linux versions, its where optional software is installed if it wasn’t installed through the package manager. Addons.

A

/opt

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

Contains running processes represented as text files. It’s a virtual filesystem used by the kernel to communicate the state of processes running on the system.

A

/proc

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

Temporary/cache files that are lost upon reboot. Unfinished downloads, etc.

A

/tmp

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

Multiuser files, commands, applications, etc not required for the OS to run.

A

/usr

17
Q

Where things meant to be common on every system image in an organization are typically installed.

A

/usr/share

18
Q

Contains variable files such as backups, caches, logs.

A

/var

19
Q

Most important directory for troubleshooting

A

/var/log

20
Q

static files of the boot loader

A

/boot

21
Q

Contains data for services provided by the system

A

/srv

22
Q

home directory of the root user

A

/root

23
Q

Linux filesystem is organized using what?

A

Filesystem Hierarchy System (FHS)

24
Q

Which of the following is the filesystem for a CD-ROM?

A

isofs

25
Q

Which virtual or pseudo filesystem is used to interface with the kernel and system as a whole but not with individual processes?

A

/sys

The /sys virtual filesystem is used to interact with the kernel and system as a whole. It did not provide any method to interact with individual processes and was created to move some of the original functions from /proc to /sys to clean up the /proc structure.