Linux File System (names of folders) Flashcards

1
Q

bin

A

contains executable files nescessary to manage and run the linux system

like the shell system
and copy/paste as well!

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

boot

A

actual files to boot the linux system

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

dev

A

replesents the various hardware that can exist in the system

example harddrives
/dev/sda1, dev/sda2,

two types of device files.

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

What 2 types of devices can be stored in the dev/ folder

A

character devices (printers, mice, tape drives) that send and recieve data one character at a time

block-oriented device files. Files that manage data in “blocks”. Blocks can also support RAM access (harddrives, usb flash drive)

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

etc

A

contains text based config files used by the system as well as services running on the system.

can edit to customize

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

etc/aliases

A

cantains a table used to rediret all local users

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

/etc/exports

A

configured file systems to be exprted to remove NFS clients

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

/etc/fstab

A

lists the partitions and file systems that will be automatically mounted when we boot our Linux system

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

/etc/ftpusers

A

Controls users access to FTP service running on a Linux system

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

/etc/groups

A

Contains local group definitions

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

/etc/grub.conf

A

Contains config parameters for the init process

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

/etc/hosts

A

contains a list of hostname IP address mappings that can use to resovle certain hostnames

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

/etc/inittab

A

contains config parameters for the init process

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

/etc/init.d

A

sub directory tha tcontains more startup scripts and services

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

/etc/rd.d/init.d/

A

for redhat or centOS system startup scripts

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

/etc/passwd

A

linux systems user accounts stored

17
Q

/etc/shadow

A

where encrypted passwords for the user accounts are stored

18
Q

/etc/X11

A

config for X windows files

19
Q

/etc/resolv.conf

A

where we specify what DNS server and domain suffix that the system is going to use

20
Q

home

A

directory that contains subdirectorise that serve as home directories for all users on the system

21
Q

lib

A

library - contains code libraries useb by programs in the bin files

22
Q

mnt

A

used by some, to mount other external drives

23
Q

opt

A

files for programs that you can instal on your own manualli (exe type)

24
Q

proc

A

(doesnt actually exist) - its a pseudo file system that is created dynamically when accessed. used to access processes and other kernal informaitons. Each subdirectires have numbers which correspond to a process id (pid) nuber

25
Q

sbin

A

similar to bin, only contains system improtant managment files (like ifconfig, shutdown, makeconfig)

26
Q

srv

A

subdirectires where services running on our system actually save their files

27
Q

/root

A

root user’s home directory (alwayys lives outside the rest of the users’ accounts).

28
Q

usr

A

application files (unless stored in a subdirectory of the user files)

29
Q

tmp

A

temporayr files

30
Q

usr/bin

A

most applications actually live

31
Q

usr/lib64

A

64-bit libraries

32
Q

usr/local

A

locally installed software

33
Q

usr/sbin

A

system administration programs

34
Q

usr/share

A

manual pages and documentatin reside here

35
Q

var

A

linux variable data and log files

36
Q

ext2 file system

A

oldest know file system
“2nd extended file system”
stores data in standard hierarchical fashion. Data in files, files in directories.

max file size is 2TB

volume can be up to 4TB

Supports file compression, users, groups, and permissions,

long running, widly used,

37
Q

ext3

A

updated version of ext2

so similar that most in ext2 are used in ext3

(can even upgrade an ext2 to 3, or downgrade a 3 to 2)

BIG DIFF? Journaling!

Eliminates the need for the computer to check the entire disk if it goes down in an unhealthy way

Journaling works by marking a file transaction complete or incomplete, so if there’s a powre outage, the ext3 replays the jorunal to verify data and bring back to a consistent date.

38
Q

Reiser

A

Similar file system to ext3 with journaling, but uses a very diff file structure

faster than ext3 because of structure

max file sive 8TB
max volume size 16TB

39
Q

ext4

A

“4th extended file system”
backward compatable to ext3 and 2

supports volumes up to 1EB is size!!
files up to 16TB in size!

uses checksums to verify the journal (good reliability)