Chapter 4 - Managing Files - Seat6 Flashcards

1
Q

You can modify a file’s permissions using what command.

pg. 206

A

chmod command

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

A ___ ___ is a set of codes related to the string representation of the permissions.

pg. 206

A

symbolic mode

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

What command allows you to adjust attributes?

pg. 212

A

chattr command

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

What attribute when set, will not update the access time stamp when you access a file, and can reduce disk input/output? Which is helpful for saving battery life on laptops.

pg. 212

A

No Access Time update “A”

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

Which attribute disables write access to the file except for appending data?

pg. 213

A

append only “a”

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

What attribute causes the kernel to compress data written to the file automatically and uncompress it when it’s read back?

pg. 213

A

compress “c”

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

What makes a file immutable, which goes a step beyond simply disabling write access to the file. The file can’t be detected, links to it can’t be created, and the file can’t be renamed.

pg. 213

A

Immutable: i flag

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

What tells the kernel to journal all data written to the file. This improves recoverability of data written to the file after system crashes but can slow performance.

pg. 213

A

j flag - data journaling

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

What flag when deleting a file can cause the kernel to zeros its data blocks, which may be desirable for files that contain sensitive data.

pg. 213

A

s flag - Secure Deletion

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

What is Tail-merging?

pg. 213

A

is a process in which small data pieces at a file’s end that don’t fill a complete block are merged with similar pieces of data from other files.

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

What does the t flag do?

pg. 213

A

it disables tail-merging.

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

What are disk quotas in Linux?

pg. 213

A

Limits forced by the OS on how many files or how much disk space a single user may consume.

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

The Linux quota system supports quotas for whom?

pg. 214

A

individual users

Linux groups

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

What quota support system uses the 2.4.x kernel?

pg. 214

A

quota v1 support system

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

What quota support system uses the 2.6.x kernel series?

pg. 214

A

quota v2 support system

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