common linux commands Flashcards

(14 cards)

1
Q

What does the ‘clear’ command do?

A

Clears the terminal screen

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

What does the ‘reset’ command do?

A

Resets your terminal to use default terminal settings

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

What information does the ‘who’ command display?

A

Displays currently logged-in users

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

What does the ‘w’ command show?

A

Displays currently logged-in users and their tasks

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

What does the ‘whoami’ command display?

A

Displays your login name

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

What information does the ‘id’ command provide?

A

Displays the numbers associated with your user account name and group names; these are commonly referred to as User IDs (UIDs) and Group IDs (GIDs)

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

What does the ‘date’ command display?

A

Displays the current date and time

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

What does the ‘cal’ command show?

A

Displays the calendar for the current month

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

What information does the ‘uname -a’ command provide?

A

Displays system information

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

What does the ‘ls’ command do?

A

Lists files

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

What does the ‘exit’ command do?

A

Exits out of your current shell

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

what does the su command with the - option do?

A

use the root users environment

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

what does su c do>

A

runs a single command as a user

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