linux8 Flashcards

1
Q

cat /etc/group

A

storage location for all groups/prints out within that group

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

How does each group store info and is it set up/look like?

A

GroupName:Password:GroupID:GroupList

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

what is the command to create a group

A

groupadd -g

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

what is the command to exit a group

A

group -f

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

what is the command to create a group with non-unique group ID

A

groupadd -o

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

what does whoami command pull up?

A

used to display the username currently logged in to the system

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

symbol for root user?

A

#

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

symbol for standard user

A

$

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

what does last 1 command do

A

shows the user who logged in through the first terminal

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

what does the id command show

A

uid, gid, groups, and context

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

w command?

A

shows who is logged in the system currently

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

.bashrc File

A

Enables customization of the users own environment

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

.bash_profile File

A

Provides the shell config for the login environment

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