seat 3. chapter 4 managing files Flashcards

1
Q

Linux-native filesystems maintain three time stamps for every file and what are they?P187

A

last file modification time, last inode change time, last access time.

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

What is the command for “change only the access time”?P187

A

-a or –time=atime

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

What is the command for “change only the modification time”?P187

A

-m or –time=mtime

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

What is the command for “do not create file”?P187

A

-c or –no-create

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

What is the command for” set the time as specified”?P187

A

-t

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

What is the tar command for “creates an archive”?P188

A

–create

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

What is the tar command for” appends tar files to an archive”?P188

A

–concatenate

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

What is the tar command for “appends non-tar files to an archive”?P188

A

–append

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

What is the tar qualifier for “creates or extracts a multi-volume archive”?P189

A

–multi-volume

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

what is the tar qualifier for “preserves all protection information”?P189

A

–preserve-per-missions

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

What is the tar qualifier for”verifies the archive after writing it”?P189

A

–verify

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

What does the CPIO do?P191

A

copies files out of an archive or lists the archive contents.

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

The CPIO utility has how many operating modes and what are they?P191,192

A

3, copy-out mode, copy-in mode, copy-pass mode.

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

What is the option for use with cpio “appends data to an existing archive”?P192

A

–append

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

What is the option for use with cpio “replaces all files without first asking for verification”?P193

A

–unconditional

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