Linux File System (names of folders) Flashcards

(39 cards)

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
sbin
similar to bin, only contains system improtant managment files (like ifconfig, shutdown, makeconfig)
26
srv
subdirectires where services running on our system actually save their files
27
/root
root user's home directory (alwayys lives outside the rest of the users' accounts).
28
usr
application files (unless stored in a subdirectory of the user files)
29
tmp
temporayr files
30
usr/bin
most applications actually live
31
usr/lib64
64-bit libraries
32
usr/local
locally installed software
33
usr/sbin
system administration programs
34
usr/share
manual pages and documentatin reside here
35
var
linux variable data and log files
36
ext2 file system
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
ext3
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
Reiser
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
ext4
"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)