Class 10 Quiz Flashcards

1
Q

What is the name of the account that can do anything on a Unix or Linux system?

A

root

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

If you have read permission on a directory, what can you do in it?

A

run ls on the directory to list its contents

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

If you have read permission on a directory, can you read the files in that directory?

A

no, you need read permission on each file

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

If you have write permission on a directory, what can you do in that directory?

A

create a file or directory, delete a file or directory, rename a file or directory inside the directory

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

If you have write permission on a directory do you have write permission on the files it contains?

A

no, you need write permission on each file

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

If you have execute permission on a directory what can you do?

A

cd into that directory

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

What is a link?

A

a file that points to another file or directory

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

What are the two kinds of links?

A

hard links and soft links

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

What kind of link is used most often?

A

soft links

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

What command would you use to create a soft link named “home” in your current directory to your home directory?

A

ln -s ~ home

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