CM2 Flashcards

1
Q

5-User Management

whoami

A

Displays the current username

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

5-User Management

who

A

Shows logged-in users

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

5-User Management

su

A

Switches to another user

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

5-User Management

sudo

A

Executes commands as another user (usually root)

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

5-User Management

passwd

A

Changes a user’s password

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

6-File Permissions & Ownership

chmod

A

Changes file permissions

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

6-File Permissions & Ownership

chown

A

Changes file ownership

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

6-File Permissions & Ownership

ls -l

A

Displays detailed file information, including permissions

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

6-File Permissions & Ownership

rwx (Read, Write, Execute)

A

File permission types

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

7-Processes & Services

ps

A

Shows running processes

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

7-Processes & Services

top

A

Displays real-time system processes

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

7-Processes & Services

kill

A

Terminates a process

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

7-Processes & Services

systemctl

A

Controls system services

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

7-Processes & Services

service

A

Manages system services (older systems).

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