Commands Flashcards

1
Q

clear

A

Clears the terminal screen

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

reset

A

Resets your terminal to use default settings

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

who

A

Displays currently logged-in users

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

w

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

whoami

A

Displays your login name

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

id

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

date

A

Displays the current date and time

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

cal

A

Displays the current calendar month

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

uname -a

A

Displays system information

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

ls

A

Lists files

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

exit

A

Exits out of your current shell

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

~

A

Special home directory meta character

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

man

A

Displays the manual pages of a given command

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

poweroff

A

Powers off the system immediately

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

halt

A

Halts your system immediately but does not turn it off

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

reboot

A

Reboots the system immediately

17
Q

shutdown

A

Can use -p to power off, or -h to halt. Then this will be followed up with +x to indicate how long to wait before powering off/halting, or followed by now to power off/halt the system immediately.