week 2 Flashcards

1
Q

How do you enter “insert mode” in vim?

A

i

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

How to exit vim?

A

:q

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

how to save file in vim

A

:w

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

Journalling

A

ext3/4 file system can recover from a power outage by writing both data and metadata to a journal

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

writeback

A

disables journaling for regular user data in order to speed up performance

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

REPL

A

Read Evaluate Print Loop

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

/bin

A

Contains binary files which contain essential built in commands like ls

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

/boot

A

contains all files that linux uses to boot

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

/dev

A

Holds the files that represent your physical devices

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

/etc

A

Contains config files, config files stored here affects all users

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

/home

A

contains user files for each user

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

/lib

A

contains libraries that programs need to use

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

/media

A

usb drives and cd-roms are stored here

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

/mnt

A

mounting point for other olders or drives

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

/opt

A

contains supplementary software for your computer that isn’t managed by package management tool for your distro

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

/proc

A

holds processes/files containing system data allowing linux to communicate with them

17
Q

/root

A

/home folder but for the root user

18
Q

/sbin

A

contains binary files but only the root user can use them

19
Q

/usr

A

files in here are shared among different users

20
Q

/var

A

contains system information that is stored there as it runs

21
Q

What’s the difference between symbolic links and hard links?

A

hard links is a direct pointer to the data on the disk while symbolic links is a pointer to a different file link

22
Q
A