Linux command for file permissions Flashcards

1
Q

u

A

user

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

g

A

group

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

o

A

others

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

a

A

all

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

+

A

add

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

-

A

remove

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

=

A

assign

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

s

A

set user ID

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

r

A

read

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

w

A

write

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

x

A

execute

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

how to make chmod readable to all?

A

chmod a+r *

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

how to make chmod readable and writeable for a group?

A

chmod g+rw *

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

how to remove read write and execute permissions from a user?

A

(command) u-rwx *

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

how to change ownership of directory cups to user ID and group ID sys?

A

chown. lp.sys cups

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